/* ========================================================================== */
/* RESET & GLOBAL STYLES */
/* ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: 
    border-box;
}
    /* ========================================================================== */
/* RESET & GLOBAL STYLES */
/* ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: sans-serif;
}

body {
    background-color: #111;
    color: #5f33d9;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
}

body.dark-mode {
    background-color: #111;
    color: #fff;
}

/* ========================================================================== */
/* SIDEBAR & MAIN CONTENT */
/* ========================================================================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 97px;
  height: 100vh;
  background-color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1em 0;
  z-index: 9999;
  overflow-y: auto;
}

/* SOCIAL ICONS */
.sidebar .social-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.sidebar .social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  color: white;
  text-decoration: none;
  /* remove underline */
  transition: transform 0.2s ease;
}

.sidebar .social-icons a:hover {
  transform: scale(1.2);
  /* smooth grow on hover */
}

/* TRUSTPILOT BUTTON */
.sidebar .trustpilot-widget {
  width: 80px !important;
  margin-top: auto;
  /* pushes to bottom */
  align-self: center;
  overflow: hidden;
  transition: transform 0.2s ease;
  /* same hover animation */
}

.sidebar .trustpilot-widget:hover {
  transform: scale(1.5);
}

/* MAIN CONTENT */
.main-content {
  margin-left: 97px;
  padding: 0;
}

/* MOBILE */
@media (max-width: 820px) {
  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }
}

/* ========================================================================== */
/* DARK MODE TOGGLE (SETTINGS PANEL) */
/* ========================================================================== */
.settings-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #333;
    padding: 0.5em;
    margin-bottom: 2em;
    border-radius: 5px;
    width: 90%;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    margin-right: 0.5em;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #aaa;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 4px;
    background-color: #fff;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #74e885;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.toggle-label {
    color: #fff;
    font-size: 0.9em;
}

/* ========================================================================== */
/* SIDEBAR SOCIAL ICONS */
/* ========================================================================== */
.social-icons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5em;
    margin-bottom: 1em;
}

.social-icons a i {
    font-size: 2rem;
    color: inherit;
    transition: transform 0.3s;
}

.google img {
    transition: transform 0.3s ease-in-out;
}

.google img:hover {
    transform: scale(1.5);
}


.social-icons a.phone {
    color: #34a853;
}

.social-icons a.facebook {
    color: #1877f2;
}

.social-icons a.x {
    color: #fff;
}

.social-icons a.youtube {
    color: #ff0000;
}

.social-icons a.email {
    color: #ade5ff;
}

.social-icons a:hover i {
    transform: scale(1.5);
}

/* ========================================================================== */
/* HEADER */
/* ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 95px;
    width: calc(100% - 95px);
    height: 95px; /* Set a fixed height */
    background: #9eb4a1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow: visible; /* Allow logo to stick out */
    z-index: 1000;
  }
  
  .logo {
    position: relative;
    height: 45px; /* same as your header height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* allows tall image to stick out */
  }
  
  .logo-img {
    height: 110px; /* or whatever size you want */
    margin-top: -5px; /* adjust to center it visually */
  }
  
  
  
  body.dark-mode header {
    background: rgba(0, 0, 0, 0.6);
}


@media (max-width: 820px) {
    header {
        left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo-img {
      height: 90px; /* Smaller logo on tablets and phones */
      margin-top: -10px; /* Adjust for visual centering */
    }
  
    .logo {
      height: 60px; /* Match the smaller logo height */
    }
  }
  
  @media (max-width: 480px) {
    .logo-img {
      height: 90px; /* Even smaller for very small screens */
      margin-top: -6px;
    }
  
    .logo {
      height: 90px;
    }
  }
  
/* ========================================================================== */
/* NAVIGATION & DROPDOWNS */
/* ========================================================================== */
nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 1em;
}

nav ul li a {
    color: #34b121;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    padding: 0.5em;
}

nav ul li a:hover {
    text-decoration: underline;
}

nav ul li {
    position: relative;
}

nav ul li ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -25px;
    background: rgba(0, 0, 0, 0.9);
    list-style: none;
    padding: 0.5em 0;
    border-radius: 5px;
    z-index: 10;
}

nav ul li ul.dropdown li {
    padding: 0.5em 0.5em;
}

nav ul li ul.dropdown li a {
    border-radius: 5px;
    padding: 0.5em;
    color: #fff;
    display: block;
    text-decoration: none;
}

nav ul li ul.dropdown li a:hover {
    background: #11891d;
}

nav ul li:hover>ul.dropdown {
    display: block;
}

@media (max-width: 820px) {
    nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5em;
        padding: 4em;
        margin: 1em;
        align-items: flex-start;
    }

    nav ul li ul.dropdown {
        position: static;
        display: none;
    }

    nav ul li ul.dropdown.show {
        display: block;
    }

    nav.show {
        transform: translateY(0);
    }
}

body.dark-mode nav ul li a {
    color: #aefca4;
}

body.dark-mode nav ul li a:hover {
    color: #74e885;
    text-decoration: none;
}

body.dark-mode nav ul li ul.dropdown {
    background: rgba(0, 0, 0, 0.95);
}

body.dark-mode nav ul li ul.dropdown li a:hover {
    background: #74e885;
    color: #000;
}

/* ========================================================================== */
/* HAMBURGER MENU */
/* ========================================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 5;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 820px) {
    .hamburger {
        display: flex;
    }
}

/* ========================================================================== */
/* HERO SECTION – Single Background Approach */
/* ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Set a single background image – you can swap the URL via JS if desired */
    background: url("img/image1.jpg") center/cover no-repeat fixed;
    transition: background-image 1s ease-in-out;
    z-index: -1;
}

@media (max-width: 820px) {
    .hero {
        height: 80vh;
        background-attachment: scroll;
    }
}

/* Gradient overlay within hero */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

body.dark-mode .gradient-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5));
}

/* ========================================================================== */
/* HEADING CONTAINER & TYPEWRITER HEADING */
/* ========================================================================== */
/* Restore the fixed position and ensure the element is empty in HTML (the JS will type it) */
/* Heading container & typewriter heading */
.heading-container {
    position: fixed;
    left: 4em;
    text-align: left;
    z-index: 1;
}

.typewriter-heading {
    position: fixed;
    left: 2.8em;
    top: 3.5em;
    color: #c2ffb5;
    font-size: 2.5em;
    border: none;
    padding: 0.3em;
    border-radius: 6px;
    animation: blink-cursor 0.7s steps(1) infinite;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5),
        /* Soft shadow */
        0 0 10px #000000,
        /* Glow effect */
        0 0 20px #000000;
    /* Outer glow */
}

body.dark-mode .typewriter-heading {
    color: #40ff00;
}

/* Curve text for smaller screens */
@media (max-width: 820px) {

    /* Typewriter heading override */
    .typewriter-heading {
        position: fixed;
        top: 5.5em;
        left: 1em;
        font-size: 1.5em;
        border: none;
        padding: 0.1;
    }
}

/* ========================================================================== */
/* OPTIONAL: WAVE CURVE AT BOTTOM OF HERO */
/* ========================================================================== */
.curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    color: #aebbb0;
    z-index: 2;
}

.curve svg {
    display: block;
    width: 100%;
    height: auto;
    transform: scaleY(0.7);
    transform-origin: bottom;
}

body.dark-mode .curve {
    color: #111;
}

/* ========================================================================== */
/* DARK DIVIDERS */
/* ========================================================================== */
.dark-container {
    background-color: #111;
}

.dark-divider {
    display: none;
}

body.dark-mode .dark-divider {
    display: block;
    width: 70%;
    margin: 0 auto;
    border: none;
    height: 1px;
    background-color: #4e4e4e;
}

/* -------------------------------------------------------------------------- */
/* BADGES */
/* -------------------------------------------------------------------------- */
.badges {
    position: absolute;
    bottom: 7%;
    left: 15%;
    width: 200px;
    height: 200px;
    background: #552F87;
    border-radius: 100%;
    color: #FFF;
    line-height: 25px;
    text-align: center;
    text-transform: uppercase;
    font-family: "Open Sans", sans-serif;
    z-index: 99;
    animation: swing 3s ease-in-out infinite;
    transform-origin: center;
}

.firstLine {
    font-size: 20px;
    font-weight: 300;
    padding-top: 50px;
}

.secondLine {
    font-size: 32px;
    line-height: 32px;
    font-weight: 600;
}

.thirdLine {
    font-size: 22px;
    line-height: 28px;
    font-weight: 300;
}

.fourthLine {
    font-size: 10px;
    font-weight: 300;
    position: relative;
    top: -10px;
}

.badges:before {
    content: '';
    position: absolute;
    top: 90px;
    left: 90px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    box-shadow: 0px -100px #552F87, 20px -98px #552F87, 39px -94px #552F87,
        56px -85px #552F87, 71px -72px #552F87, 83px -57px #552F87, 93px -40px #552F87,
        98px -20px #552F87, 100px 0px #552F87,
        -20px -98px #552F87, -39px -94px #552F87, -71px -72px #552F87,
        -56px -85px #552F87, -83px -57px #552F87, -93px -40px #552F87, -98px -20px #552F87,
        -100px 0px #552F87,
        0px 100px #552F87, -20px 98px #552F87, -39px 94px #552F87, -56px 85px #552F87,
        -71px 72px #552F87, -83px 57px #552F87, -93px -40px #552F87, -98px 20px #552F87,
        -93px 40px #552F87,
        20px 98px #552F87, 39px 94px #552F87, 56px 85px #552F87,
        71px 72px #552F87, 83px 57px #552F87, 93px 40px #552F87, 98px 20px #552F87;
}

.badges .spikes {
    display: none;
}

/* Styles for when badge is in "Welcome" mode */
.welcome-mode {
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-mode .firstLine {
    font-size: 34px;  /* Make the text larger */
    font-weight: bold;
    padding-top: 0;    /* Remove default top padding */
}

/* Remove the badge and its dots completely */
.video-mode {
    position: absolute;
    top: 70%; /* Adjust this value to move it lower */
    left: 15%; /* Same as badge position */
    width: auto;
    height: auto;
    background: none; /* Remove badge background */
    border-radius: 0;
    animation: none; /* Stop rotation */
    display: block;
    z-index: 999; /* Ensure it stays above other elements */
}

/* Hide the dots around the badge */
.video-mode::before {
    content: none !important;
    display: none !important;
}

/* Ensure the iframe is properly positioned */
.video-mode iframe {
    width: 300px;  /* Adjust width */
    height: 200px; /* Adjust height */
    border-radius: 5px; /* Ensure it's rectangular */
    display: block;
}

/* Hide the badge completely when the video is shown */
.video-mode .badges {
    display: none !important;
}

/* Stop rotation when video mode is active */
.video-mode {
    animation: none !important; /* Disable badge animation */
    transform: none !important; /* Reset any transformations */
}



@keyframes swing {
    0% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-15deg);
    }

    100% {
        transform: rotate(15deg);
    }
}

/* Responsive badges */
@media (max-width: 370px) {
    .badges {
        display: none;
    }
}

@media (max-width: 820px) {
    .badges {
        bottom: 7%;
    }
}

/* ========================================================================== */
/* CONTACT BUTTON (Fixed Bottom-Right) */
/* ========================================================================== */
.button0 {
    position: fixed;
    bottom: 5%;
    right: 5%;
    z-index: 10000;
}

#button1 {
    text-decoration: none;
    background-color: #74e885;
    border: 2px solid rgb(22, 124, 10);
    border-radius: 9px;
    font-size: 30px;
    padding: 0 1em;
    color: #ad3aff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    transition: all 0.25s;
}

#button1:hover {
    background-color: #9bf5a8;
    color: #9500ff;
    box-shadow: 0 0.5em 0.5em -0.4em rgb(119, 218, 108);
    transform: translateY(-0.20em);
    cursor: pointer;
}

@media (max-width: 820px) {
    #button1 {
        font-size: 17px;
        padding: 0.2em;
    }
}

/* ========================================================================== */
/* SECTION #3 (Three-Column Area) */
/* ========================================================================== */
#section3 {
    padding: 10em 0;
    background-color: #aebbb0;
    z-index: 2;
    position: relative;
}

#section3 h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #11891d;
    font-size: 1.5em;
}

body.dark-mode #section3 {
    background-color: #111;
    color: #fff;
}

body.dark-mode #section3 h1 {
    color: #beffb7;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
}

.column {
    flex: 1 0 33.333%;
    min-width: 250px;
    padding: 35px;
    font-size: 19px;
    color: #000;
    border-right: 1px solid #fff;
}

.column:nth-child(3n) {
    border-right: none;
}

body.dark-mode .column {
    color: #fff;
}

@media (max-width: 900px) {
    .column {
        flex: 1 0 50%;
        border-right: 1px solid #fff;
    }

    .column:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .column {
        flex: 1 0 100%;
        border-right: none;
    }
}

/* ========================================================================== */
/* ICON PARALLAX SECTION */
/* ========================================================================== */
#icon-parallax {
    width: 100%;
    padding: 4em 0;
    background: #aebbb0;
    z-index: 5;
}

body.dark-mode #icon-parallax {
    background: #111;
}

.icon-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 110px auto;
}

.icon-row i {
    font-size: 4rem;
    color: #292929;
    transition: transform 0.1s ease;
    text-align: center;
}

.icon-row i p {
    font-size: 0.9rem;
    font-family: cursive;
    color: #004205;
    padding: 1rem;
}

body.dark-mode #icon1 {
    color: #5eeb0c;
}

body.dark-mode #icon2 {
    color: #eb0c0c;
}

body.dark-mode #icon3 {
    color: #ebbb0c;
}

body.dark-mode .icon-row i p {
    color: #a5beff;
}

@media (max-width: 600px) {
    .icon-row i {
        font-size: 2.5rem;
    }
}

/* ========================================================================== */
/* PORTFOLIO SECTION */
/* ========================================================================== */
#portfolio {
    margin: 0 auto;
    text-align: center;
    background-color: #aebbb0;
    padding: 10em 1em;
}

body.dark-mode #portfolio {
    background-color: #111;
}

@media (max-width: 1030px) {
    #portfolio {
        padding: 4em 1em;
    }
}

#portfolio h2 {
    margin-bottom: 2em;
    font-size: 5em;
    color: #ca2929;
}

.gradient-text {
    background: linear-gradient(to right, #2f32ff, #dd2476);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text:hover {
    background: linear-gradient(to right, #ef2121, #02a93a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 6em;
    justify-content: center;
}

.portfolio-item {
    flex: 1 1 400px;
    max-width: 400px;
}

.portfolio-item img {
    width: 100%;
    transition: transform 0.3s ease;
}

.portfolio-item img:hover {
    transform: scale(1.07);
}

.portfolio-item p {
    margin-top: 0.5em;
    font-weight: 600;
    font-size: 1.1em;
}

.portfolio-item p a {
    color: #000;
    text-decoration: none;
}

.portfolio-item p a:hover {
    text-decoration: underline;
}

body.dark-mode .portfolio-item p a {
    color: #ebc60e;
}

@media (max-width: 600px) {
    .portfolio-flex {
        gap: 1em;
    }

    .portfolio-item {
        max-width: 100%;
    }
}

/* ========================================================================== */
/* IMAGE-TEXT SECTION */
/* ========================================================================== */
.image-text-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 4em 1em;
    background-color: #000;
}

.image-container {
    position: relative;
    width: 40%;
    margin: 0 auto;
    overflow: hidden;
    background-repeat: no-repeat;
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
    padding: 3em;
    transition: opacity 0.3s ease;
}

.default-img {
    opacity: 1;
    z-index: 1;
}

.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    z-index: 2;
}

.image-container:hover .default-img {
    opacity: 0;
}

.image-container:hover .hover-img {
    opacity: 1;
}

.text-container {
    text-align: center;
    padding: 8em;
    flex: 1;
    color: #fff;
}

.text-container h2 {
    font-size: 3em;
    color: #1d8603;
}

.text-container p {
    text-align: left;
    font-size: 1.5em;
    color: #ffffff !important;
    text-indent: 2em; 
    line-height: 1.4; 
    margin-bottom: 1em;
}

@media (max-width: 920px) {
    .image-text-section {
        flex-direction: column;
        padding: 1em;
    }

    .image-container {
        width: 100%;
        margin: 0 auto;
    }

    .image-container img {
        padding: 5em;
    }

    .text-container {
        margin: 1em 0 0;
    }
}

@media (max-width: 580px) {
    .image-text-section {
        align-items: center;
        padding: 1em;
    }

    .image-container {
        width: 90%;
        margin: 0 auto;
    }

    .image-container img {
        padding: 3em;
    }

    .text-container {
        margin-top: 1em;
        padding: 0 1em;
        width: 100%;
    }

    .text-container h2 {
        font-size: 1.5em;
    }

    .text-container p {
        font-size: 1em;
    }
}



/* ========================================================================== */
/* GLOBE SECTION */
/* ========================================================================== */
.globe-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 600px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 860px) {
    .globe-section {
        flex-direction: column;
        min-height: auto;
    }

    #globe {
        width: 100%;
        height: 300px;
        overflow: hidden;
    }
}

/* ========================================================================== */
/* CONTACT SECTION */
/* ========================================================================== */
.containercontact {
    background-color: #111;
    align-items: center;
}

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5em;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Dark mode contact section */
body.dark-mode .contact-section {
    background-color: #111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 1em;
    font-size: 1.8em;
    color: #333;
}

body.dark-mode .contact-section h2 {
    color: #ffffff;
}

.contact-section p {
    text-align: center;
    margin-bottom: 1.5em;
    color: #555;
}

body.dark-mode .contact-section p {
    color: #ddd;
}

/* Contact form */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

/* Form row => side-by-side fields */
.form-row {
    display: flex;
    gap: 1em;
}

/* Form group styling */
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.3em;
    color: #333;
}

body.dark-mode .form-group label {
    color: #ffffff;
}

.form-group label span {
    color: red;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    resize: vertical;
    background-color: #ffffff;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    border: 1px solid #afafaf;
    background-color: #222;
    color: #ffffff;
}

/* Submit button */
button[type="submit"] {
    align-self: flex-start;
    padding: 0.6em 1.2em;
    background-color: #11891d;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0e6817;
}

/* CAPTCHA and Submit Button Alignment */
.align-captcha-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
}

/* Adjust CAPTCHA field */
.captcha-group {
    flex: 1;
}

.captcha-group label {
    font-weight: 600;
    color: #333;
}

body.dark-mode .captcha-group label {
    color: #ffffff;
}

.captcha-group input {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    width: 80px;
    text-align: center;
}

body.dark-mode .captcha-group input {
    background-color: #222;
    border: 1px solid #afafaf;
    color: #ffffff;
}

/* Align submit button to the right */
.button-group {
    display: flex;
    justify-content: flex-end;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}

/* Contact Section - Adjust for small screens */
@media (max-width: 600px) {
    .contact-section {
        max-width: 100% !important;
        padding: 2em !important;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100% !important;
    }

    button[type="submit"] {
        width: 100% !important;
        text-align: center;
    }

    .align-captcha-submit {
        flex-direction: column;
        align-items: flex-start;
    }

    .button-group {
        width: 100%;
        justify-content: center;
        margin-top: 1em;
    }

    button[type="submit"] {
        width: 100%;
    }
}

/* Honeypot field (Hidden from real users) */
.honeypot-field {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

/* Spinner (Hidden initially, now properly animates) */
.spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #11891d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Ensure spinner and button are aligned */
.button-group {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between button and spinner */
}





/* ========================================================================== */
/* FOOTER */
/* ========================================================================== */
footer {
    background: #001402fd;
    color: #aaa;
    padding: 4em;
    width: 100%;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body.dark-mode footer {
    background: #000;
    color: #fff;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

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

.contact-info p {
    margin: 1.5em 0;
    font-size: 1.3em;
}

.contact-info a {
    color: #aaa;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 0.3em 0.5em;
}

.contact-info a:hover {
    color: #fff;
}

.footer-center {
    display: flex;
    flex-direction: column;
}

.footer-links ul {
    list-style: none;
    gap: 0.5em;
    padding: 0;
    margin: 0 0 1em;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 1.3em;
    transition: color 0.3s;
    padding: 0.3em 0.5em;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #fff;
    transform: scale(1.1);
}

.footer-right {
    display: flex;
    flex-direction: column;
}

.social-media ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-media ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 1.7em;
    transition: color 0.3s, transform 0.3s;
    padding: 0.7em 0.3em;
    display: inline-block;
}

.social-media ul li a:hover {
    color: #fff;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 2em;
    font-size: 0.9em;
    color: #aaa;
}

body.dark-mode .footer-links ul li a,
body.dark-mode .contact-info a,
body.dark-mode .social-media ul li a {
    color: #fff;
}

body.dark-mode .footer-links ul li a:hover,
body.dark-mode .contact-info a:hover,
body.dark-mode .social-media ul li a:hover {
    color: #74e885;
}

@media (max-width: 820px) {
    footer {
        padding: 2em;
    }

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

    .footer-left,
    .footer-center,
    .footer-right {
        align-items: center;
    }

    .footer-links ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.1em;
        justify-content: center;
    }

    .social-media ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5em;
        margin-top: 0;
    }

    .social-media ul li a {
        font-size: 0.9em;
    }
}


html,
body {
    width: 100%;
    height: 100%;
    font-family: sans-serif;
}

body {
    background-color: #111;
    color: #5f33d9;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
}

body.dark-mode {
    background-color: #111;
    color: #fff;
}

