:root {

    --primary-bg: #f8f9fa;
    --primary-text: #333;
    --accent-color: #028835;
    --accent-light: #006699;
    --highlight-bg: #e6f1f5;
    --white: #ffffff;
    --link-light: #ccf;
    --blockquote-accent: #007799;


    --dark-accent: #00da1d;
    --dark-bg: #121212;
    --dark-text: #f0f0f0;
    --dark-hero-gradient-start: #222;
    --dark-hero-gradient-end: #111;
    --dark-section-bg: #1e1e1e;
    --dark-highlight-bg: #2a2a2a;
    --dark-button-bg: #333;
    --dark-button-border: #ffd700;
    --dark-link: #ffd700;
}
.sarala-regular {
  font-family: "Sarala", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.sarala-bold {
  font-family: "Sarala", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.font-thin        { font-family: "IBM Plex Mono", monospace; font-weight: 100; font-style: normal; }
.font-xlight      { font-family: "IBM Plex Mono", monospace; font-weight: 200; font-style: normal; }
.font-light       { font-family: "IBM Plex Mono", monospace; font-weight: 300; font-style: normal; }
.font-regular     { font-family: "IBM Plex Mono", monospace; font-weight: 400; font-style: normal; }
.font-medium      { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-style: normal; }
.font-semibold    { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-style: normal; }
.font-bold        { font-family: "IBM Plex Mono", monospace; font-weight: 700; font-style: normal; }

.font-thin-italic     { font-family: "IBM Plex Mono", monospace; font-weight: 100; font-style: italic; }
.font-xlight-italic   { font-family: "IBM Plex Mono", monospace; font-weight: 200; font-style: italic; }
.font-light-italic    { font-family: "IBM Plex Mono", monospace; font-weight: 300; font-style: italic; }
.font-regular-italic  { font-family: "IBM Plex Mono", monospace; font-weight: 400; font-style: italic; }
.font-medium-italic   { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-style: italic; }
.font-semibold-italic { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-style: italic; }
.font-bold-italic     { font-family: "IBM Plex Mono", monospace; font-weight: 700; font-style: italic; }

html {
    scroll-padding-top: 120px; /* match your header height */
}
html, body {
    height: 100%;
}
body, h1, h2, p {
    margin: 0;
    padding: 0;
}
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: fit-content;
}
main.section {
    flex: 1;
}
/* Optional centering for login/signup pages only */
main.section.centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.fullscreen-login {
  min-height: 100vh; /* full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;
}
.dark-mode .fullscreen-login {
  background: black;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo-img {
    height: 110px; /* Adjust this upward for a larger logo */
    width: auto;
    max-height: 100%;
    object-fit: contain;
    display: none;
    padding: 0;
    margin: 0;
}


.light-logo {
    display: inline-block;
}

.dark-logo {
    display: none;
}

body.dark-mode .light-logo {
    display: none;
}

body.dark-mode .dark-logo {
    display: inline-block;
}






.dropdown-container {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: black;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

body.dark-mode .dropdown-toggle {
  color: var(--white);
}

.chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.dropdown-toggle.open .chevron {
  transform: rotate(-135deg);
}

.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  min-width: 60px;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

body.dark-mode .dropdown-menu {
  background-color: #1c1c1c;
  border-color: #444;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  text-align: center;
  color: black !important;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode .dropdown-menu li a {
  color: var(--white) !important;
}

.dropdown-menu li a:hover {
  color: var(--accent-color) !important;
}

body.dark-mode .dropdown-menu li a:hover {
  color: var(--dark-accent) !important;
}

/* Optional: smoother scale on hover */
.dropdown-menu li {
  transition: transform 0.2s ease;
}

.dropdown-menu li:hover {
  transform: scale(1.04);
}







.jumpy-leaf {
    transition: transform 0.2s;
}

.jumpy-leaf.jump {
    animation: leaf-jump 0.4s ease-out;
}

@keyframes leaf-jump {
    0%   { transform: translateY(0); }
    25%  { transform: translateY(-15px); }
    50%  { transform: translateY(0); }
    75%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
.header-content {
    position: relative;
}

/* Mascot inside header space */
.leaf-track {
    position: relative;
    flex: 1;
    height: 50px;
    overflow: hidden;
    margin-left: 30px;
    margin-right: 30px;
}

/* Mascot default state */
#leafRunner {
    position: absolute;
    top: 0;
    left: calc(100% - 40px); /* starting point */
    width: 40px;
    height: 40px;
    transform: scaleX(-1); /* facing left initially */
    transition: transform 0.2s;
    cursor: pointer;
    z-index: 5;
}

/* Running animation */
.leaf-running {
    animation: leaf-hop-run 3s linear forwards;
}
@keyframes leaf-hop-run {
    0%   { left: calc(100% - 40px); transform: translateY(0) scaleX(-1); }
    5%   { transform: translateY(-5px) scaleX(-1); }
    10%  { transform: translateY(0) scaleX(-1); }
    15%  { transform: translateY(-5px) scaleX(-1); left: 85%; }
    20%  { transform: translateY(0) scaleX(-1); }
    25%  { transform: translateY(-5px) scaleX(-1); left: 70%; }
    30%  { transform: translateY(0) scaleX(-1); }
    35%  { transform: translateY(-5px) scaleX(-1); left: 55%; }
    40%  { transform: translateY(0) scaleX(-1); }
    45%  { transform: translateY(-5px) scaleX(-1); left: 40%; }
    49%  { transform: translateY(0) scaleX(-1); left: 0; }

    50%  { transform: translateY(0) scaleX(1); } /* Flip */

    55%  { transform: translateY(-5px) scaleX(1); left: 15%; }
    60%  { transform: translateY(0) scaleX(1); }
    65%  { transform: translateY(-5px) scaleX(1); left: 30%; }
    70%  { transform: translateY(0) scaleX(1); }
    75%  { transform: translateY(-5px) scaleX(1); left: 45%; }
    80%  { transform: translateY(0) scaleX(1); }
    85%  { transform: translateY(-5px) scaleX(1); left: 65%; }
    90%  { transform: translateY(0) scaleX(1); }
    95%  { transform: translateY(-5px) scaleX(1); left: 85%; }
    100% { transform: translateY(0) scaleX(1); left: calc(100% - 40px); }
}



.hidden {
    display: none !important;
}

body.dark-mode h2{
    color: var(--dark-text);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/*HERO SLIDER DONT TOUCH*/
body.dark-mode .hero1 {
    background: linear-gradient(to right, var(--dark-hero-gradient-start), var(--dark-hero-gradient-end));
}

.hero1 {
  position: relative;
  overflow: hidden;
  background: var(--accent-color);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}


.hero1-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  white-space: nowrap;
}
.hero-slide {
  position: absolute;
  top: 50%;                     /* Start from the vertical center */
  left: 0;
  width: 100%;
  transform: translate(100%, -50%); /* Slide in from right, vertically centered */
  text-align: center;
  font-size: 24px;
  white-space: nowrap;
  opacity: 0;
  transition: transform 1.4s ease, opacity 1.4s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translate(0%, -50%); /* Centered horizontally and vertically */
}

.hero-slide.exit-left {
  transform: translate(-100%, -50%);
  opacity: 0;
}
/*HERO SLIDER DONT TOUCH*/



body.dark-mode .hero {
    background: linear-gradient(to right, var(--dark-hero-gradient-start), var(--dark-hero-gradient-end));
}
body.dark-mode .section {
    background-color: var(--dark-section-bg);
    color: var(--dark-text);
}

body.dark-mode .highlight {
    background-color: var(--dark-highlight-bg);
}

body.dark-mode a,
body.dark-mode .btn {
    color: var(--dark-accent);
}

body.dark-mode .btn {
    background-color: var(--dark-button-bg);
    border: 1px solid var(--dark-accent);
}





/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
body.dark-mode blockquote {
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--dark-text);
    padding-left: 1rem;
    border-left: 4px solid var(--blockquote-accent);
}
body.dark-mode input {
    background-color: #222;
    color: #fff;
    border-color: #444;
}
.site-nav ul li:hover {
  transform: scale(1.08);
  transition: transform 0.3s ease, color 0.3s ease;

}
body.dark-mode .site-nav:hover {
    color: var(--white);
}
body.dark-mode .signup-form h2 {
    color: var(--dark-text);
}

body.dark-mode main.section.centered {
    background-color: var(--dark-section-bg);
}

body.dark-mode .signup-form input {
    background-color: #2b2b2b;
    color: var(--dark-text);
    border: 1px solid #444;
}

body.dark-mode .signup-form .btn,
body.dark-mode .signup-form .btn-link {
    background-color: var(--accent-light);
    color: white;
    border: none;
}

body.dark-mode .signup-form .btn:hover,
body.dark-mode .signup-form .btn-link:hover {
    background-color: var(--accent-color);
}

.dark-mode-toggle button {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 2px;
    border-radius: 50%;
    cursor: pointer;
}

body.dark-mode .dark-mode-toggle button {
    background-color: var(--dark-button-bg);
    color: var(--dark-link);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    color: black;
    padding: 10px 0;
}
.dark-mode .site-header {
    background-color: black;
    color: var(--accent-color);
    padding: 10px 0;
}
.container {
    margin-left: 25px;
    margin-right: 25px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}
/* === Terminal-style Hover Prompt for Nav Links === */
.site-nav .nav-links a {
  position: relative;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.site-nav .nav-links .prompt {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: var(--accent-color, #224237);
  font-weight: 600;
}

.site-nav .nav-links a:hover .prompt {
  opacity: 1;
  transform: translateX(0);
}

/* Optional blinking cursor */
.site-nav .nav-links .prompt::after {
  content: "_";
  animation: blink 1s infinite step-start;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Dark Mode Support */
body.dark-mode .site-nav .nav-links .prompt {
  color: var(--dark-accent, #00da1d);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}
.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    column-gap: 15px;
}

.nav-container {
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 1600px;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-links ul li a{
    color: var(--white);
}

.site-nav a {
    color: black;
    text-decoration: none;
    font-size: 16px;
}
.dark-mode .site-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
}

.welcome {
    color: var(--accent-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dark-mode .welcome {
    color: var(--dark-accent);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-toggle {
    display: none;
    font-size: 40px;
    background: none;
    color: var(--accent-color);
    border: none;
    cursor: pointer;
}
.dark-mode .menu-toggle {
    display: none;
    font-size: 40px;
    background: none;
    color: var(--white);
    border: none;
    cursor: pointer;
}


main {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
}

/* Sections */
.section {
    padding: 60px 20px;
    max-width: 2000px;
    margin: auto;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Hero */
.hero {
    background: white;
    color: black;
    text-align: center;
    padding: 50px 0px;
    margin: 0 auto;
    border-bottom: 8px solid black;
}

.hero h1{
    font-size: 40px;
}
.hero-content{
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    padding: 15px;
}

.hero .btn {
    padding: 15px 24px;
    background: var(--accent-color);
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    border-radius: 8px;
}
.hero .btn:hover {
    background: var(--white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    transition: background 0.4s;

}

.dark-mode .hero {
    color: var(--white);
    border-bottom: 8px solid #00da1d;

}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    padding: 15px;
}
.bixtextflex {
    display: flex;
    flex-direction: row;
}
.biztext {
    color: #00da1d;
}

.hero .btn {
    padding: 15px 24px;
    background: var(--accent-color);
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    border-radius: 8px;
}
.hero .btn:hover {
    background: var(--white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    transition: background 0.4s;

}


.hero-btn-height{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    min-height: 130px;
}
/* Highlight sections */



.highlight {
    background-color: var(--highlight-bg);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
}

/* Testimonials */
blockquote {
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--primary-text);
    padding-left: 1rem;
    border-left: 4px solid var(--blockquote-accent);
}

/* CTA */
.cta {
    background-color: var(--white);
    color: var(--accent-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta .btn {
    margin-top: 1rem;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    width: fit-content;
}

.site-footer {
    background-color: #000;
    color: #ccc;
    padding: 30px 15px;
    text-align: center;
    font-size: 14px;
}

/* Top: Logo + Icon in a row */
.footer-top-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-instagram img {
    height: 50px;
    width: 50px;
    transition: transform 0.2s ease;
}

.footer-instagram img:hover {
    transform: scale(1.1);
}

/* Middle: Nav Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #00da1d;
    text-decoration: none;
    font-weight: 500;
    font-size: 24px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Bottom: Copyright */
.copyright {
    font-size: 12px;
    color: #aaa;
}
@media (max-width: 768px) {
    .footer-logo {
        height: 30px;
        width: auto;
    }

    .footer-instagram img {
        height: 30px;
        width: 30px;
    }
}

/* Signup Form */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    justify-content: center;
    align-items: center;
}

.signup-form .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
}

.signup-form label {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--accent-color);
}
body.dark-mode label {
    color: var(--white);
}
.signup-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Shared button styles */
.signup-form .btn,
.signup-form .btn-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    height: 40px;
    min-width: 140px;
    box-sizing: border-box;
}

/* Hover state */
.signup-form .btn:hover,
.signup-form .btn-link:hover {
    background-color: var(--accent-light);
}


.form-alert {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}
.form-alert.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}
body.dark-mode .form-alert {
    background-color: #2f2f2f;
    color: #ffd700;
    border-color: #555;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}
/* --- Modal --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
  position: relative;
}

body.dark-mode .modal-content {
  background: #1a1a1a;
  color: #fff;
}

/* Close button */
.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Table --- */
.table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.table.responsive {
  width: 100%;
  border-collapse: collapse;
}

.table.responsive th,
.table.responsive td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
}

.table.responsive th {
  background-color: #f4f4f4;
  color: #333;
}

body.dark-mode .table.responsive th {
  background-color: #333;
  color: #00da1d;
}

body.dark-mode .table.responsive td {
  color: #eee;
}





/* === ABOUT SECTION === */
.about-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  max-width: 1200px;
  width: 100%;
  height: 100%;
  z-index: 1;

  /* Default (light mode): black side shadows */
  box-shadow: 
    -40px 0 60px -10px rgba(0, 0, 0, 0.4),
     40px 0 60px -10px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

/* Dark mode: bright green side glow */
.dark-mode .video-wrapper {
  box-shadow: 
    -40px 0 60px -10px #00da1d,
     40px 0 60px -10px #00da1d;
}


#aboutVideo {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Changed from cover */
  background: white;   /* Optional, avoids gaps */
}
.dark-mode .about-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  overflow: hidden;
}

.dark-mode #aboutVideo {
  background: black;   /* Optional, avoids gaps */
}

#soundToggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  background: url('speaker-slash.svg') no-repeat center;
  background-size: 22px;
  background-color: rgba(255, 255, 255, 0.85); /* semi-dark background */
  border-radius: 50%;
  border: 1px solid white;
  cursor: pointer;
  opacity: 0.85;
  transition: background-color 0.3s ease, border 0.3s ease;
}

#soundToggle.sound-on {
  background-image: url('speaker-high.svg');
  background-color: rgba(255, 255, 255, 0.85); /* light background */
  border: 1px solid #00da1d; /* accent in dark mode */
}



.about2-section {
  background-color: var(--white);
  color: var(--primary-text);
  padding: 80px 20px;
  text-align: left;
  overflow: hidden;
  border-top: 8px solid black;
}

body.dark-mode .about2-section {
  background-color: #121212;
  color: var(--dark-text);
  border-top: 8px solid #00da1d;
}

.about2-container {
  max-width: 1200px;
  margin: auto;
}

.about2-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about2-section p {
  max-width: 800px;
  text-align: left;
  margin-bottom: 60px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.about2-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.about2-item {
  background: white;
  border-radius: 12px;
  padding: 30px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.about2-item p {
  text-align: center;
}

body.dark-mode .about2-item {
  background-color: #1e1e1e;
  box-shadow: 0 4px 12px rgba(0, 218, 29, 0.25);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: inline-block;
}

.about2-item h3 {
  color: var(--accent-color);
  margin-bottom: 10px;
}

body.dark-mode .about2-item h3 {
  color: var(--dark-accent);
}
.about2-slide-left,
.about2-slide-right,
.about2-slide-up {
  opacity: 0%;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

.about2-slide-left {
  transform: translateX(-60px);
}
.about2-slide-right {
  transform: translateX(60px);
}
.about2-slide-up {
  transform: translateY(60px);
}

.about2-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.about2-delay-1 { transition-delay: 0.2s; }
.about2-delay-2 { transition-delay: 0.4s; }
.about2-delay-3 { transition-delay: 0.6s; }
.about2-delay-4 { transition-delay: 0.8s; }





.services-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
  border-top: 8px solid black;
  border-bottom: 8px solid black;
}

body.dark-mode .services-section {
  background-color: var(--dark-section-bg);
  color: var(--dark-text);
  border-top: 8px solid #00da1d;
  border-bottom: 8px solid #00da1d;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.services-item {
  padding: 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Light shadow */
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

body.dark-mode .services-item {
  background: #121212;
  box-shadow: 0 4px 12px rgba(0, 218, 29, 0.3); /* Green glow for dark mode */
}

.services-item h3 {
  color: var(--accent-color);
  margin-bottom: 10px;
}

body.dark-mode .services-item h3 {
  color: var(--dark-accent);
}
.services-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

body.dark-mode .services-item:hover {
  box-shadow: 0 6px 18px rgba(0, 218, 29, 0.4);
}
.service-icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--accent-color, #004466);
}

.dark-mode .service-icon {
  color: var(--dark-accent, #00da1d);
}
/* Base hidden state */
.services-container h2,
.services-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* When visible */
.services-container.animate h2 {
  opacity: 1;
  transform: translateX(0);
}

.services-container.animate .services-item {
  opacity: 1;
  transform: translateY(0);
}

/* Optional stagger */
.services-container.animate .services-item:nth-child(1) { transition-delay: 0.2s; }
.services-container.animate .services-item:nth-child(2) { transition-delay: 0.4s; }
.services-container.animate .services-item:nth-child(3) { transition-delay: 0.6s; }
.services-container.animate .services-item:nth-child(4) { transition-delay: 0.8s; }
.services-container.animate .services-item:nth-child(5) { transition-delay: 1s; }
.services-container.animate .services-item:nth-child(6) { transition-delay: 1.2s; }
.services-item {
  transform: scale(0.95) translateY(40px);
}

.services-container.animate .services-item {
  transform: scale(1) translateY(0);
}

.portfolio-section {
  padding: 4rem 1rem;
  background: #f9f9f9;
  text-align: center;
}
.dark-mode .portfolio-section {
  background-color: var(--dark-section-bg);
  color: var(--dark-text);
}
.portfolio-section h2 {
  font-size: 24px;
  margin-bottom: 2rem;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem 1rem;
}

.portfolio-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  max-width: 400px;
  width: 100%;
  transition: transform 0.3s ease;
}
.dark-mode .portfolio-card {
  background: #111;
  box-shadow: 0 4px 12px #00da1d;
}

.portfolio-card:hover {
  transform: scale(1.02);
}

.portfolio-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.portfolio-card h3 {
  font-size: 1.2rem;
  color: var(--accent-color, #00da1d);
  margin-bottom: 0.5rem;
}
.dark-mode .portfolio-card h3 {

  color: #00da1d;

}

.portfolio-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: black;
}
.dark-mode .portfolio-card p {
  color: white;
}

.portfolio-links a {
  margin-right: 1rem;
  font-weight: bold;
  color: var(--accent-color, #00da1d);
  text-decoration: none;
}

.client-feedback {
  margin-top: 1rem;
  font-style: italic;
  font-size: 0.9rem;
  color: gray;
}

@media (min-width: 600px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonials-section {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--primary-bg);
  border-top: 8px solid black;
  border-bottom: 8px solid black;
  min-height: 400px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
  min-height: 400px;
}

.testimonial {
  flex: 0 0 45%;
  max-width: 500px;
  padding: 1.5rem;
  border-radius: 10px;
  background-color: #d3d3d39c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
  visibility: hidden;
  position: absolute;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  position: relative;
  pointer-events: auto;
}


.testimonial .quote-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.testimonial .stars {
  color: limegreen;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial .star.filled {
  color: limegreen;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial .nameplate {
  font-weight: bold;
  color: limegreen;
}

@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    align-items: center;
    min-height: fit-content;
  }
  .testimonial {
    flex: 1 1 100%;
    max-width: 90%;
  }
}


/* Dark mode support */
body.dark-mode .testimonials-section {
  background: #1a1a1a;
  border-top: 8px solid #00da1d;
  border-bottom: 8px solid #00da1d;
}

body.dark-mode .testimonial {
  background: #2a2a2a;
  color: #eee;
}

body.dark-mode .testimonial .quote-icon,
body.dark-mode .testimonial .nameplate {
  color: #00da1d;
}

body.dark-mode .testimonial .star {
  color: #555;
}

body.dark-mode .testimonial .star.filled {
  color: #00da1d;
}


/* === CONTACT SECTION STYLES === */
#contact.section.cta {
  padding: 60px 20px;
  background-color: var(--primary-bg, #f9f9f9);
  color: var(--primary-text, #222);
  text-align: center;
  border-top: 2px solid var(--accent-color, #224237);
}

#contact h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

#contact p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

#contact .btn {
  display: inline-block;
  margin-bottom: 40px;
  background-color: var(--accent-color, #224237);
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

#contact .btn:hover {
  background-color: var(--accent-light, #2e5b39);
}

.section-content {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

/* Contact Form */
.contact-form {
  width: 100%;
  text-align: left;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

.contact-form .form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  color: #333;
  font-size: 1rem;
  transition: border 0.2s ease;
}

.contact-form .form-input:focus {
  outline: none;
  border-color: var(--accent-color, #224237);
}

.contact-form textarea.form-input {
  resize: vertical;
}

/* Submit Button — centered, fixed width */
.contact-form .form-submit {
  display: block;
  width: 300px;
  margin: 20px auto 0;
  text-align: center;
  background-color: var(--accent-color, #224237);
  color: white;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .form-submit:hover {
  background-color: var(--accent-light, #2e5b39);
}

/* Feedback message */
.form-message {
  margin: 20px auto;
  padding: 12px 16px;
  max-width: 600px;
  border-radius: 4px;
  font-weight: 500;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Recaptcha */
.recaptcha-container {
  display: flex;
  justify-content: center;
}
#serviceModal.hidden {
  display: none;
}

#serviceModal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);;
  color: var(--primary-text, #000000);
  border-radius: 8px;
  padding: 20px;
  width: 90%;
  max-height: fit-content;
  max-width: fit-content;
  z-index: 1050;
}

#serviceModal .modal-content {
  position: relative;
}

#serviceModal .close-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  font-weight: bold;
  color: var(--accent-color, #224237);
  cursor: pointer;
}

#serviceModal .table-wrapper {
  margin-top: 20px;
  overflow-x: auto;
}

#serviceModal table {
  width: 100%;
  border-collapse: collapse;
  font-family: "IBM Plex Mono", monospace;
}

#serviceModal table thead {
  background-color: var(--highlight-bg, #f1f1f1);
}

#serviceModal table th,
#serviceModal table td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ccc;
}

/* Dark mode support */
body.dark-mode #serviceModal {
  background-color: #111;
  color: #eee;
  border-color: var(--dark-accent, #00da1d);
}

body.dark-mode #serviceModal .close-modal {
  color: var(--dark-accent, #00da1d);
}

body.dark-mode #serviceModal table thead {
  background-color: #1e1e1e;
}

body.dark-mode #serviceModal table th,
body.dark-mode #serviceModal table td {
  border-color: #444;
}
@media screen and (max-width: 600px) {
  #myServiceModal {
    top: 5%;
    left: 2.5%;
    width: 95%;
    padding: 15px;
  }

  #myServiceModal h2 {
    font-size: 1em;
  }

  #myServiceModal .table {
    font-size: 0.8em;
  }
}
/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
  #contact.section.cta {
    text-align: center;
    padding: 40px 15px;
  }

  .section-content {
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .contact-form {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: left;
  }

  .contact-form .form-input,
  .contact-form textarea.form-input {
    width: 100%;
    box-sizing: border-box; /* ✅ prevents overflow */
  }

  .contact-form .form-label {
    text-align: left;
  }

  .contact-form .form-submit {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    display: block;
    text-align: center;
  }

  .recaptcha-container {
    justify-content: center;
  }
}

/* === DARK MODE === */
body.dark-mode #contact.section.cta {
  background-color: #111;
  color: #eee;
}

body.dark-mode .contact-form .form-input {
  background-color: #222;
  border-color: #444;
  color: #fff;
}

body.dark-mode .contact-form .form-input:focus {
  border-color: var(--dark-accent, #00da1d);
}

body.dark-mode .form-message.success {
  background-color: #225533;
  color: #adffb0;
  border-color: #33aa66;
}

body.dark-mode .form-message.error {
  background-color: #552222;
  color: #ffc9cb;
  border-color: #dd6666;
}

body.dark-mode .btn,
body.dark-mode .form-submit {
  background-color: var(--dark-accent, #00da1d);
  color: #000;
}

body.dark-mode .btn:hover,
body.dark-mode .form-submit:hover {
  background-color: #11ff33;
}



@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
}
@media (min-width: 769px) {
    .hero-mobile {
        display: none !important;
    }
    .hero-desktop {
        display: flex !important;
    }
}
/* 📱 Small devices */
@media (max-width: 768px) {
    .site-nav .nav-links .prompt {
        display: none;
    }
    .logo-img {
        height: 60px; /* Adjust this upward for a larger logo */
        width: auto;
        max-height: 100%;
        object-fit: contain;
        padding: 0;
        margin: 0;
    }
    #aboutVideo {
        width: 100%;
        height: auto;
        object-fit: contain; /* Changed from cover */
        background: white;   /* Optional, avoids gaps */
    }
    .video-wrapper {
        position: relative;
        max-width: 1200px;
        width: 100%;
        height: fit-content !important;
        z-index: 1;
    }
    .about-section{
        max-height: 500px;
    }
    .dropdown-toggle{
        max-width: 95%;
    }
    .hero-desktop {
        display: none;
    }
    .hero-mobile {
        display: flex;
    }
    .hero1-slider{
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    .hero-mobile .hero-slide {
        white-space: normal;
        padding: 0px;
        font-size: 16px;
        line-height: 1.4;
        max-width: 100vw;
    }
    .dropdown-container {
        width: 100%;
    }
    #serviceModal .modal-content {
        padding: 1rem 0.5rem;
        font-size: 14px;
        max-width: 300px;
    }

    #serviceModal th, #serviceModal td {
        padding: 8px;
        font-size: 13px;
    }

    #serviceModal table {
        font-size: 13px;
    }

    .dropdown-container > a {
        width: 100%;
        display: flex;
        justify-content: center;
        font-size: 16px;
        padding: 10px;
    }

    .dropdown-menu {
        position: static; /* Not absolute on mobile */
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
    }

    .dropdown-menu li {
        width: 100%;
        text-align: center;
        padding: 6px 0;
        background: transparent;
    }

    .dropdown-menu li a {
        color: white;
        font-size: 20px;
    }

    body.dark-mode .dropdown-menu li a {
        color: white;
        font-size: 20px;
    }

    .dropdown-menu li:hover {
        background-color: rgba(255,255,255,0.1);
    }
    .leaf-track {
        min-width: 120px; /* smaller but visible */
        height: 45px;
    }

    #leafRunner {
        width: 40px;
        height: 40px;
    }
    
    .site-header{
        height: 80px;
    }
    .site-nav {
        display: none;
        width: 100%;
    }
    body.nav-open .site-nav {
        display: block;
        position: absolute;
        top: 90px; /* adjust to match your header height */
        left: 0;
        right: 0;
    }
    /* Mobile nav dropdown appearance */
    body.nav-open .site-nav {
        background-color: var(--accent-color) !important;
    }

    body.nav-open .site-nav a {
        color: white !important;
        font-size: 20px;
    }


    body.dark-mode.nav-open .site-nav {
        background-color: black !important;
        color: white !important;
    }


    .site-nav ul.nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .dark-mode .site-nav ul.nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .profile-menu {
        position: relative;
        z-index: 1000;
    }
    .profile-icon {
        width: 50px;
        height: 50px;
    }

    .site-nav ul {
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 10px;
        font-size: 16px;
    }

    .menu-toggle {
        display: block;
    }
    .dark-mode .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    body.dark-mode main.section.centered {
        width: 80%;
        max-width: 100%;
        padding: 1rem;
        background-color: var(--dark-section-bg); /* ensure consistency */
    }
    main.section.centered {
        width: 80%;
        max-width: 100%;
        padding: 1rem;
        background-color: var(--white);
    }

    .signup-form {
        padding: 0;
        gap: 10px;
        justify-content: center;
        align-items: center;
        text-align: left;
        display: flex;
        flex-direction: column;

    }
    .signup-form .form-group {
        display: flex;
        flex-direction: column;
        width: 90%;
        max-width: 350px;
        justify-content: center;
        align-items: center;
        text-align: left;
    }
    .form-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: left;
        display: flex;
        flex-direction: column;
    }

    .signup-form input,
    .signup-form .btn,
    .signup-form .btn-link {
        width: 200px;
    }

    .g-recaptcha {
        transform: scale(0.90);
        transform-origin: 0 0;
        margin-top: 10px;
    }
    .site-nav a {
        text-decoration: none;
        font-size: 16px;
    }
    .site-nav ul li {
        min-height: 30px;
    }
    .dark-mode .site-nav a {
        color: var(--white);
        text-decoration: none;
        font-size: 20px;
    }
}

/* 📱📺 Medium devices: iPads, small laptops */
@media (min-width: 769px) and (max-width: 1199px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .menu-toggle {
        display: none;
    }

    .logo a {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
