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

body {
  font-family: 'Montserrat', sans-serif;
  background: black;
  color: #fff;
  padding-top: 80px; /* Add padding to prevent content from hiding behind fixed navbar */
  height: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  /* Optionally: */
  /* overflow-y: scroll; */
  transition: background 0.7s cubic-bezier(0.4,0,0.2,1), color 0.7s cubic-bezier(0.4,0,0.2,1);
}

/* Fix for mobile viewport height issues */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

html {
  scroll-behavior: smooth;
}

/* CSS Custom Properties for viewport height */
:root {
  --vh: 1vh;
}

/* Dynamic viewport height calculation */
@media screen and (max-width: 768px) {
  .hero {
    min-height: calc(var(--vh, 1vh) * 100);
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.7s cubic-bezier(0.4,0,0.2,1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.logo .dot {
  color: red;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.navbar .logo {
  flex-shrink: 0;
}

.navbar .btn-outline {
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.nav-links a {
  margin: 0 1rem;
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

.btn-outline {
  border: 2px solid #fff;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 6px 18px rgba(47,218,164,0.15);
}

/* HAMBURGER MENU*/

#hamburger-nav {
display: none;
background-color: black;
/* border-bottom-left-radius: 2rem;
border-bottom-right-radius: 2rem; */
justify-content: space-between;
align-items: center;
padding: 1.2rem 5%;
}

.menu-logo {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
}

.menu-logo .dot {
  color: red;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  position: relative;
  z-index: 1001; /* above the menu overlay */
 
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
  z-index: 1001; /* ensure it's clickable above menu */
}

.hamburger-icon span {
    width: 100%;
    height: 3px;
    background-color: rgb(255, 255, 255);
    transition: all 0.3s ease-in-out;
    transform-origin: center;
    border-radius: 2px;
}

.hamburger-icon:hover span {
    background-color: #0f9b6e;
}

.hamburger-icon.open:hover span {
    background-color: #ff3c3c;
}

.menu-links {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: #000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 1000;
}

.menu-links a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

.menu-links .btn-outline {
  font-size: .1rem;
  padding: 0.75rem 1.5rem;
}

.menu-links li {
    list-style: none;
}

/* .menu-links.open {
    max-height: 300px;
} */

.menu-links.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(0, 11px);
}

.hamburger-icon.open span:nth-child(2) {
   opacity: 0;
   transform: translateX(20px);
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(0, -11px);
}

.hamburger-icon span:first-child {
    transform: none;
    opacity: 1;
}


/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 5%;
  padding-bottom: 10%;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  background: linear-gradient(to bottom , #000000, #000000, #001b13);
  overflow: hidden;
  gap: 2rem;
}

/* Responsive hero layout */
@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 5%;
    gap: 1.5rem;
  }
}

.hero-text {
  max-width: 50%;
}

.intro {
  color: #0f9b6e;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.role {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.highlight-red {
  color: #ff3c3c;
}
.highlight-green {
  color: #0f9b6e;
}

.desc {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 2rem;
  max-width: 90%;
}

.btn-download {
  background: #0f9b6e;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.btn-download:hover {
  background: #0c7b57;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 6px 18px rgba(47,218,164,0.15);
}

.hero-image {
  position: relative;
  max-width: 450px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  flex-shrink: 0;
}

/* Responsive hero image sizing */
@media screen and (min-width: 1200px) {
  .hero-image {
    max-width: 500px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
  .hero-image {
    max-width: 380px;
  }
}

@media screen and (max-width: 768px) {
  .hero-image {
    max-width: 320px;
    margin-top: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-image {
    max-width: 250px;
  }
}

.avatar {
  width: 100%;
}

.socials {
  position: absolute;
  top: 40%;
  right: 2%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.socials img {
  width: 24px;
  /* filter: brightness(0) invert(1); */
}




/* //about me section */
.about {
  background: #000;
  color: white;
  padding: 3rem 5%;
  transition: background 0.7s cubic-bezier(0.4,0,0.2,1);
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h2 {
  color: #0f9b6e;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.about-header p {
  color: #ccc;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.about-content {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* .about-image .image-wrapper {
  position: relative;
  border-left: 4px solid white;
  padding-left: 1rem;
  display: inline-block;
} */

.about-image img {
  width: 480px;
  height: auto;
  border-radius: 5px;
  display: block;
}


.top-left {
  top: 10%;
  left: -60px;
}

.bottom-right {
  bottom: 10%;
  right: -60px;
}

.about-text {
  max-width: 500px;
}

.about-text h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.about-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.orange-text {
  color: #ff4a22;
}

.description {
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.btn-hire {
  background: #0f9b6e;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.3s, color 0.3s, transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.btn-hire:hover {
  background: #0c7b57;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 6px 18px rgba(47,218,164,0.15);
}

/* PROJECT SECTION */

.portfolio {
  background: #000;
  color: white;
  padding: 3rem 5%;
  text-align: center;
  transition: background 0.7s cubic-bezier(0.4,0,0.2,1);
}

.portfolio-header h2 {
  color: #0f9b6e;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.portfolio-header p {
  font-size: 0.95rem;
  color: #ccc;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.portfolio-filter .filter {
  background: transparent;
  border: none;
  color: #ccc;
  font-weight: 500;
  cursor: pointer;
  padding-bottom: 0.5rem;
  position: relative;
}

.portfolio-filter .filter.active {
  color: white;
}

.portfolio-filter .filter.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0f9b6e;
  margin: auto;
  width: 100%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.portfolio-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.portfolio-grid img:hover {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(47,218,164,0.12);
}

.load-more {
  margin-top: 3rem;
}

.load-more button {
  background: #0f9b6e;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.load-more button:hover {
  background: #0c7b57;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 6px 18px rgba(47,218,164,0.15);
}



/* MY SERVICES SECTION */

/* Services Section Styling */
.services-section {
    padding: 3rem 5%;
    text-align: center;
    transition: background 0.7s cubic-bezier(0.4,0,0.2,1);
}

.services-header {
    margin-bottom: 60px;
}

.services-header h2 {
    color: #0f9b6e; /* A shade of green */
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.services-header p {
    color: #e0e0e0;
    font-size: 0.9em;
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #0c0c0c; /* Very dark background for the card */
    border: 1px solid #0f9b6e; /* Greenish border */
    padding: 40px 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.service-card:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 12px 32px rgba(47,218,164,0.10);
}

.service-icon {
    font-size: 2.5em; /* 40px */
    margin-bottom: 25px;
    background-color: rgba(26, 146, 150, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card h3 {
    font-size: 1.4em; /* ~22px */
    margin-bottom: 15px;
    color: #f5f5f5;
}

.service-card p {
    font-size: 1em; /* 16px */
    color: #bdbdbd;
    line-height: 1.6;
}

/* TESTIMONIALS SECTION */

.testimonials {
  background: #000;
  color: white;
  padding: 3rem 5%;
  text-align: center;
  transition: background 0.7s cubic-bezier(0.4,0,0.2,1);
}

.testimonials-header h2 {
  color: #0f9b6e;
  letter-spacing: 1px;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.testimonials-header p {
  color: #ccc;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #10a568;
  padding: 2rem;
  border-radius: 20px;
  width: 350px;
  position: relative;
  font-weight: 500;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 10px 28px rgba(47,218,164,0.10);
}

.testimonial-card p{
    padding: 1rem;
}

.quote {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;

}

.quote-icon {
  font-size: 3rem;
  color: #b3f8b3;
  position: absolute;
  top: -30px;
  left: -10px;

}

.testimonial-user {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.bubble {
  width: 12px;
  height: 12px;
  background: #b3f8b3;
  border-radius: 50%;
  margin-bottom: 0.3rem;
}

.bubble.small {
  width: 6px;
  height: 6px;
}

.avatars {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #b3f8b3;
  object-fit: cover;
  background: #fff;
}



/* CONTACT ME */

/* Contact Section Styling */
.contact-section {
    padding: 3rem 5%;
    transition: background 0.7s cubic-bezier(0.4,0,0.2,1);
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    color: #2fdaa4; /* Teal color for the main heading */
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-header p {
    color: #e0e0e0;
    font-size: 0.9em;
    letter-spacing: 1.5px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 320px;
}

/* Contact Info Cards Styling */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-wrapper {
    background-color: #0d2822;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    color: #2fdaa4;
}

.info-text h4 {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: 1.1em;
}

.info-text p {
    margin: 0;
    color: #a0a0a0;
    font-size: 0.95em;
}

/* Contact Form Styling */
.contact-form {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 30px;
    color: #ffffff;
}

.contact-form form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row input[type="text"],
.form-row input[type="email"] {
  flex: 1;
  min-width: 0;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
}

form input, form textarea {
    width: 100%;
    background-color: #2b2b2b;
    border: 1px solid #3c3c3c;
    border-radius: 8px;
    padding: 15px;
    color: #ffffff;
    font-size: 1em;
    font-family: inherit;
}

form input::placeholder, form textarea::placeholder {
    color: #888888;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: #2fdaa4;
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form button {
    background-color: #2fdaa4;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 1em;
    /* font-weight: bold; */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #28b88a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(47, 218, 164, 0.3);
}

/* Style the form container */
.contact-form {
  background-color: #1a1a1a;
  padding: 40px;
  border-radius: 12px;
}

.contact-form h3 {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 30px;
  color: #ffffff;
}

/* This is the key for the side-by-side layout */
.form-row {
  display: flex;
  gap: 20px; /* Adds space between fields */
  margin-bottom: 20px;
}

/* Make sure each field in a row takes up equal space */
.form-field {
  flex: 1; /* This makes the fields expand to fill the available space */
}

/* General styling for all inputs and textareas */
form input, 
form textarea {
  width: 100%;
  background-color: #2b2b2b;
  border: 1px solid #3c3c3c;
  border-radius: 8px;
  padding: 15px;
  color: #ffffff;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box; /* Important for consistent sizing */
}

/* Style for when a user clicks into a field */
form input:focus, 
form textarea:focus {
  outline: none;
  border-color: #2fdaa4; /* Use your site's accent color */
}

/* Make the textarea resizable vertically */
form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Style the submit button */
form button {
  width: 100%; /* Make button span the full width of its container */
  background-color: #0f9b6e; /* Your site's green button color */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #0c7b57; /* A darker shade on hover */
}

/* This class hides labels visually but keeps them for screen readers (Accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* --- Responsive styles for the form on mobile --- */
@media (max-width: 768px) {
  .form-row {
      flex-direction: column; /* Stack the fields on top of each other */
      gap: 0; /* Remove the gap for stacked layout */
  }

  /* Add space back between stacked fields */
  .form-field {
      margin-bottom: 20px;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    .contact-info, .contact-form {
        width: 100%;
        max-width: 600px;
    }
}

/* FOOTER */

/* Footer Styling */
.site-footer {
    background-color: #01140a; /* Dark green background */
    color: #c8e6c9; /* Light green text color */
    padding: 50px 0;
    font-size: 14px;
    transition: background 0.7s cubic-bezier(0.4,0,0.2,1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-about,
.footer-links,
.footer-socials {
    flex: 1;
    min-width: 250px; /* Ensures content doesn't get too squished on smaller screens */
}

.site-footer h3 {
    color: #e0f2f1;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-about .tagline {
    font-style: italic;
    color: #80cbc4;
    margin-top: -15px;
    margin-bottom: 20px;
    font-size: 13px;
}

.footer-about p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #c8e6c9;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-socials a {
    color: #e0f2f1;
    font-size: 20px;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-socials a img {
    width: 24px;  /* Set a specific width for all icons */
    height: 24px; /* Set a specific height to ensure they are uniform */
    
    /* Good practice to prevent any potential distortion */
    object-fit: contain; 
}

.footer-socials a:last-child {
    margin-right: 0;
}

.footer-socials a:hover {
    color: #ffffff;
}

.footer-copyright {
    text-align: left;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid #26a69a; /* Separator line */
    color: #80cbc4;
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-about,
    .footer-links,
    .footer-socials {
        min-width: auto;
        width: 100%;
    }

    .footer-socials {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .footer-socials a {
        margin-right: 0;
    }

    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0;
    }

    .footer-container {
        gap: 25px;
        padding: 0 15px;
    }

    .site-footer h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .footer-about .tagline {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .footer-about p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .footer-links ul li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-socials a img {
        width: 20px;
        height: 20px;
    }

    .footer-copyright {
        font-size: 11px;
        margin-top: 25px;
        padding: 15px 15px 0;
    }
}

/* ========================================= */
/* ========= THANK YOU PAGE STYLES ========= */
/* ========================================= */

.thank-you-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Makes the container take up the full screen height */
    text-align: center;
    background-color: #000000; /* Same black background */
    color: #f0f0f0;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

.thank-you-container h1 {
    color: #2fdaa4; /* The same green accent color from your contact form */
    font-size: 3.5em;
    margin-bottom: 20px;
}

.thank-you-container p {
    font-size: 1.2em;
    color: #a0a0a0;
    margin: 5px 0;
    max-width: 500px;
}

/* This styles the "Back to Homepage" link to look like a button */
.home-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #057a55;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: #28b88a;
}

/* Light Mode Thank You Page */
body.light-mode .thank-you-container {
    background-color: #ffffff !important;
    color: #222 !important;
}

body.light-mode .thank-you-container h1 {
    color: #2fdaa4 !important;
}

body.light-mode .thank-you-container p {
    color: #2a2a2a !important;
}

body.light-mode .home-button {
    background-color: #2fdaa4 !important;
    color: #ffffff !important;
}

body.light-mode .home-button:hover {
    background-color: #28b88a !important;
}

/* Toggle Switch Styles */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toggle-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
  position: relative;
}
.toggle-switch input[type="checkbox"] {
  display: none;
}
.slider {
  width: 44px;
  height: 24px;
  background: #333;
  border-radius: 12px;
  position: relative;
  margin-right: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch input[type="checkbox"]:checked + .slider {
  background: #2fdaa4;
}
.toggle-switch input[type="checkbox"]:checked + .slider:before {
  transform: translateX(20px);
}
.toggle-icon {
  font-size: 1.2em;
  margin-left: 4px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.toggle-switch:hover .toggle-icon {
  transform: scale(1.18) rotate(-10deg);
}

/* Light Mode Toggle Switch */
body.light-mode .slider {
  background: #ccc;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
body.light-mode .slider:before {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Light Mode Styles */
body.light-mode {
  background: #ffffff;
  color: #222;
}
body.light-mode .navbar,
body.light-mode #hamburger-nav,
body.light-mode .hero,
body.light-mode .about,
body.light-mode .portfolio,
body.light-mode .services-section,
body.light-mode .testimonials,
body.light-mode .contact-section,
body.light-mode .site-footer {
  background: #fff !important;
  color: #222 !important;
}
body.light-mode .logo,
body.light-mode .menu-logo,
body.light-mode .site-footer h3 {
  color: #222 !important;
}
body.light-mode .dot {
  color: #ff0080 !important;
}
body.light-mode .nav-links a,
body.light-mode .footer-links a {
  color: #0a0a0a !important;
}
body.light-mode .nav-links a:hover,
body.light-mode .footer-links a:hover {
  color: #2fdaa4 !important;
}
body.light-mode .btn-outline,
body.light-mode .load-more button,
body.light-mode .btn-hire,
body.light-mode .btn-download,
body.light-mode .contact-form button{
  background: #2fdaa4 !important;
  color: #fff !important;
  border-color: #2fdaa4 !important;
  transition: all 0.3s ease !important;
}

/* Light Mode Button Hover States */
body.light-mode .btn-outline:hover,
body.light-mode .load-more button:hover,
body.light-mode .btn-hire:hover,
body.light-mode .btn-download:hover {
  background: #28b88a !important;
  border-color: #28b88a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(47, 218, 164, 0.3) !important;
}

body.light-mode .service-card {
  background: #f8f8f8 !important;
  border-color: #2fdaa4 !important;
}
body.light-mode .testimonial-card {
  background: #e0f7ef !important;
  color: #222 !important;
}
body.light-mode .avatars {
  background: #fff !important;
  border-color: #2fdaa4 !important;
}
body.light-mode .contact-form,
body.light-mode .info-card {
  background: #f3f3f3 !important;
  color: #222 !important;
}
body.light-mode .icon-wrapper {
  background: #e0f7ef !important;
  color: #2fdaa4 !important;
}
body.light-mode .footer-copyright {
  color: #2fdaa4 !important;
  border-top: 1px solid #2fdaa4 !important;
}

/* Light Mode Hamburger Menu */
body.light-mode .hamburger-icon span {
  background-color: #000 !important;
}
body.light-mode .menu-links {
  background-color: #fff !important;
}
body.light-mode .menu-links a {
  color: #000 !important;
}
body.light-mode .menu-links a:hover {
  color: #2fdaa4 !important;
}
body.light-mode .menu-links .btn-outline {
  background: #2fdaa4 !important;
  color: #fff !important;
  border-color: #2fdaa4 !important;
}

body.light-mode .hero {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 25%, #c0edc0 100%) !important;
  color: #222 !important;
}

/* Light Mode Contact Form */
body.light-mode .contact-form {
  background: #f3f3f3 !important;
  color: #222 !important;
}
body.light-mode .contact-form h3 {
  color: #0a0a0a !important;
}
body.light-mode form input,
body.light-mode form textarea {
  background-color: #ffffff  !important;
  border: 1px solid #ddd !important;
  color: #222 !important;
}
body.light-mode form input::placeholder,
body.light-mode form textarea::placeholder {
  color: #666 !important;
}
body.light-mode form input:focus,
body.light-mode form textarea:focus {
  border-color: #2fdaa4 !important;
  box-shadow: 0 0 0 2px rgba(47, 218, 164, 0.1) !important;
}
body.light-mode form button {
  background-color: #0a0a0a !important;
  color: #ffffff !important;
  border: 1px solid #0a0a0a !important;
  transition: all 0.3s ease !important;
}
body.light-mode form button:hover {
  background-color: #28b88a !important;
  border-color: #28b88a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(47, 218, 164, 0.3) !important;
}

/* Light Mode Text Colors */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3 {
  color: #000000 !important;
}
body.light-mode p {
  color: #1a1a1a !important;
}
body.light-mode .hero-text h1 {
  color: #000000 !important;
}
body.light-mode .hero-text .intro {
  color: #2fdaa4 !important;
}
body.light-mode .hero-text .role {
  color: #000000 !important;
}
body.light-mode .hero-text .desc {
  color: #2a2a2a !important;
}
body.light-mode .about-header h2 {
  color: #2fdaa4 !important;
}
body.light-mode .about-header p {
  color: #2a2a2a !important;
}
body.light-mode .about-text h1 {
  color: #000000 !important;
}
body.light-mode .about-text h3 {
  color: #ff0080 !important;
}
body.light-mode .about-text .description {
  color: #2a2a2a !important;
}
body.light-mode .portfolio-header h2 {
  color: #2fdaa4 !important;
}
body.light-mode .portfolio-header p {
  color: #2a2a2a !important;
}
body.light-mode .services-header h2 {
  color: #2fdaa4 !important;
}
body.light-mode .services-header p {
  color: #2a2a2a !important;
}
body.light-mode .service-card h3 {
  color: #000000 !important;
}
body.light-mode .service-card p {
  color: #2a2a2a !important;
}
body.light-mode .testimonials-header h2 {
  color: #2fdaa4 !important;
}
body.light-mode .testimonials-header p {
  color: #2a2a2a !important;
}
body.light-mode .contact-header h2 {
  color: #2fdaa4 !important;
}
body.light-mode .contact-header p {
  color: #2a2a2a !important;
}
body.light-mode .contact-form h3 {
  color: #000000 !important;
}
body.light-mode .info-text h4 {
  color: #000000 !important;
}
body.light-mode .info-text p {
  color: #2a2a2a !important;
}
body.light-mode .footer-about p {
  color: #2a2a2a !important;
}
body.light-mode .footer-about .tagline {
  color: #2fdaa4 !important;
}

/* Light Mode Tally Form */
/* body.light-mode .contact-form iframe {
  filter: brightness(0.7) contrast(1.5) saturate(1.2) !important;
  background: #ffffff !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
}
body.light-mode .contact-form {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
} */

/* Netlify Forms Honeypot */
.hidden {
  display: none;
}

/* Light Mode Portfolio Filter */
body.light-mode .portfolio-filter .filter {
  color: #2a2a2a !important;
}

body.light-mode .portfolio-filter .filter.active {
  color: #000000 !important;
}

body.light-mode .portfolio-filter .filter.active::after {
  background: #2fdaa4 !important;
}

/* Light Mode Portfolio Section */
body.light-mode .portfolio {
  background: #fff !important;
  color: #222 !important;
}

body.light-mode .portfolio-header h2 {
  color: #2fdaa4 !important;
}

body.light-mode .portfolio-header p {
  color: #2a2a2a !important;
}

body.light-mode .load-more button {
  background: #2fdaa4 !important;
  color: #fff !important;
}

body.light-mode .load-more button:hover {
  background: #28b88a !important;
}

/* Prevent background scroll when hamburger menu is open */
.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Animated Section Transition */
.section-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section-animate {
    transform: translateY(16px);
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* Fade-in/out section animation */
.fade-section {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  position: relative;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .fade-section {
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(8px);
  }
}

/* Fade-in/out for individual items on all devices */
.fade-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  position: relative;
}
.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Logo Scroller Section --- */
.tools-section {
    padding-top: 4rem;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

.tools-header {
    margin-bottom: 60px;
}

.tools-header h2 {
    color: #0f9b6e;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.tools-header p {
    color: #ccc;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

/* The scroller container */
.scroller {
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

/* The inner container that holds the logos */
.scroller__inner {
    display: flex;
    gap: 2rem;
    width: fit-content;
    animation: scroll 30s linear infinite;
    padding: 4px;
}

/* Pause the animation on hover for better user experience */
.scroller:hover .scroller__inner {
    animation-play-state: paused;
}

/* Individual logo styling */
.scroller__inner img {
    height: 40px;
    width: auto;
    filter: grayscale(100%) brightness(2);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Add color and brightness on hover */
.scroller__inner img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* The animation keyframes */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .tools-section {
        padding: 3rem 0;
    }

    .tools-header h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .tools-header p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .scroller__inner img {
        height: 30px;
    }

    .scroller__inner {
        animation-duration: 25s;
    }
}

/* Additional mobile improvements for very small screens */
@media (max-width: 480px) {
    .tools-header h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .tools-header p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .scroller__inner img {
        height: 25px;
    }
    
    .scroller__inner {
        gap: 1.5rem;
        animation-duration: 20s;
    }
}

/* Light Mode Tools Section */
body.light-mode .tools-section {
  background: #fff !important;
  color: #222 !important;
}

body.light-mode .tools-header h2 {
  color: #2fdaa4 !important;
}

body.light-mode .tools-header p {
  color: #2a2a2a !important;
}

body.light-mode .scroller__inner img {
  filter: grayscale(1) brightness(0.5) !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.light-mode .scroller__inner img:hover {
  filter: grayscale(0) brightness(1) !important;
}