@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wdth,wght@0,9..144,75..100,400..900;1,9..144,75..100,400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

@font-face {
  font-family: "Fraunces", serif;
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  font-optical-sizing: auto;
  font-weight: 900;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 0;
}


/* --- Reset & Variables --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

:root {
  --primary-color: #15F700;
  --light-bg-theme: #FFFDFD;
  --text-color: #f8f8f8;
  --dark-bg-theme: #121212;
  --button-text: #111827;
  --header: #0E4BE8;
  --body-text: #1B81D0;
  --transition: all 0.2s ease;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme variables applied when `data-theme="dark"` on <html> */
:root[data-theme="dark"] {
  --light-bg-theme: #121212;
  --primary-color: #15F700;
  --secondary-color: #121212; /* dark page background */
  --text-color: #D1D5DB; /* light text */
  --muted-text: #A0A0A0;
  --button-text: #FFFDFD;
  --header: #15F700;
  --body-text: #D1D5DB;
}

/* Dark theme text colors */
:root[data-theme="dark"] body {
  color: var(--text-color);
}

:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] h4,
:root[data-theme="dark"] h5,
:root[data-theme="dark"] h6 {
  color: var(--text-color);
}

:root[data-theme="dark"] .navbar {
  background: #1a1a1a;
  border-bottom: 1px solid rgba(21, 247, 0, 0.1);
}

:root[data-theme="dark"] .hero-section {
  background: linear-gradient(to right, #121212, #1a1a1a);
}

:root[data-theme="dark"] button,
:root[data-theme="dark"] a {
  color: var(--text-color);
}

button {
  border-radius: 2px;
}

/* Hero visual responsiveness */
.hero-visual-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 1.5rem auto 0;
  position: relative;
  min-height: 260px;
}

.hero-visual-wrapper .hero-spline {
  display: block;
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
}

.hero-fallback {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--light-bg-theme);
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}


/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  padding: 10px 60px;
  height: 80px;
  align-items: center;
  top: 0;
  width: 100%;
  background: var(--light-bg-theme);
  z-index: 1000;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px;
  }
}

.container {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}


.logo,
.footer-logo {
  width: clamp(100px, 20vw, 150px);
  height: auto;
  border: none;
}

/* --- Menu --- */
.menu-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 64px;
  transition: var(--transition);
}

.menu-items a {
  color: var(--header);
  font-family: "JetBrains Mono", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.menu-items a:hover,
.menu-items a:focus-visible {
  color: var(--primary-color);
}

/* --- Buttons (Desktop) --- */
.fix-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.contact-button {
  border: 1.5px solid var(--header);
  border-radius: 2px;
  padding: 8px 24px;
  color: var(--button-text);
  font-weight: 700;
  background: transparent;
  transition: var(--transition-smooth);
}

.contact-button:hover,
.contact-button:focus-visible {
  background: var(--header);
  color: var(--light-bg-theme);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.397);
}

.build-brand-button {
  position: relative;
  background: #15F700;
  border-radius: 2px;
  padding: 10px 16px;
  font-weight: bold;
  outline: none;
  transition: .2s ease-in-out;
  display: inline-flex;
  color: var(--header) !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: "Jetbrans" ,monospace;
}

.build-brand-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: #87ff7c82;
  border: none;
  transform: rotate(25deg);
  filter: blur(24px);
  transition: transform .2s ease, left .2s ease;
  opacity: 25;
}

.build-brand-button:hover::before,
.build-brand-button:focus-visible::before {
  left: 120%;
  transform: rotate(25deg) translateX(0);
}


/* --- Hamburger --- */
.ham {
  display: none;
  position: relative;
  z-index: 1002;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ham:hover,
.ham:focus-visible {
  background: rgba(21, 247, 0, 0.08);
  border: 2px solid rgba(21, 247, 0, 0.3);
  outline: none;
  transform: scale(1.05);
}

.ham:focus-visible {
  box-shadow: 0 0 0 3px var(--primary-color);
  transform: scale(1.08);
}

.ham.open {
  background: rgba(21, 247, 0, 0.12);
  border: 2px solid rgba(21, 247, 0, 0.5);
}

.patty,
.patty::before,
.patty::after {
  position: absolute;
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--header), var(--primary-color));
  border-radius: 3px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  content: "";
  box-shadow: 0 2px 8px rgba(14, 75, 232, 0.2);
}

.patty {
  top: 50%;
  margin-top: -1.5px;
}

.patty::before {
  top: -9px;
  width: 24px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.patty::after {
  top: 9px;
  width: 24px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ham.open .patty {
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
}

.ham.open .patty::before {
  top: 0;
  left: 50%;
  width: 26px;
  transform: translateX(-50%) rotate(45deg);
  background: linear-gradient(90deg, var(--primary-color), var(--header));
  box-shadow: 0 0 12px rgba(21, 247, 0, 0.4);
}

.ham.open .patty::after {
  top: 0;
  left: 50%;
  width: 26px;
  transform: translateX(-50%) rotate(-45deg);
  background: linear-gradient(90deg, var(--header), var(--primary-color));
  box-shadow: 0 0 12px rgba(14, 75, 232, 0.4);
}

/* --- Mobile Dropdown --- */
@media (max-width: 768px) {
  .menu-items {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5rem 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.35s step-end;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1001;
  }

  .menu-items.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s step-start;
  }

  .menu-items li {
    width: 100%;
    text-align: center;
  }

  .menu-items a {
    display: flex;
    width: 100%;
    padding: 1rem 1rem;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--header);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 8px;
  }

  .menu-items a:hover,
  .menu-items a:focus-visible {
    background: rgba(21, 247, 0, 0.15);
    color: var(--header);
    text-decoration: none;
  }

  .fix-right {
    display: none;
  }

  .ham {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile Buttons Full Width */
  .mobile-buttons {
    width: 100%;
    max-width: 280px;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mobile-full {
    display: flex;
    width: 100%;
    padding: 1rem 1.5rem;
    min-height: 44px;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: var(--transition-smooth);
    align-items: center;
    justify-content: center;
  }

  .mobile-full.contact-button {
    color: var(--header);
    border: 2px solid var(--header);
    background: transparent;
  }

  .mobile-full.contact-button:hover,
  .mobile-full.contact-button:focus-visible {
    background: var(--header);
    color: var(--light-bg-theme);
  }

  .mobile-full.learn-about-button {
    background: var(--primary-color);
    color: var(--button-text);
    border: 2px solid transparent;
  }

  .mobile-full.learn-about-button:hover,
  .mobile-full.learn-about-button:focus-visible {
    color: var(--button-text);
    border-color: var(--header);
  }
}

@media (min-width: 769px) {
  .mobile-buttons {
    display: none;
  }
}


/* --- Main Content Wrapper --- */
.main-content {
  /* Prevents content from hiding behind fixed navbar */
  /* Adjust this value based on your navbar's final height */
  padding-top: 80px; 
  color: var(--header); /* Default text color for new content */
}

/* --- General Section Styling --- */
.page-section {
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 4vw, 1.5rem);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  color: var(--header);
  margin-bottom: 3rem;
}

.service-subtitle{
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  color: var(--header);
  margin-bottom: 1.5rem;
}

.sub-sub-service-text{
  text-align: center;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--body-text);
  margin-bottom: 3rem;
}

/* --- Hero Section --- */
.hero-section {
  display: flex;
  flex-direction: column;
  color: var(--light-bg-theme);
  padding: 100px 60px;
  text-align: center;
  position: relative;
}

.hero-header {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-bottom: 2rem;
}

.hero-subheadline {
  font-size: 2rem;
  font-family: 'Manrope', sans-serif;
  color: var(--body-text);
  margin-bottom: 1rem;
  display: block;
}

.heading-subtext{
  display: flex;
  flex-direction: column;
  gap: 34px;
  width: fit-content;
}

.hero-headline {
  font-size: 6rem;
  font-family: 'Frauces', serif;
  letter-spacing: 0%;
  max-width: 1392px;
  margin: 0 auto;
  color: var(--header);
}

.hero-headline .highlight-green {
  color: var(--primary-color);
}

.hero-visual-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 1rem auto;
  background-color: var(--dark-bg-theme);
  border-radius: 16px;
  border: none;
}

.hero-buttons{
  display: flex;
  align-items: center;
  flex-direction: row;
  width: fit-content;
  height: fit-content;
  margin: 0 auto;
  gap: 32px;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 0 16px;
}

@media (max-width: 900px) {
  .hero-buttons {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* Hero Animation SVG */
.hero-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hero-animation {
    opacity: 0.4;
  }
}

.Our-services-link {
  border: 2px solid var(--header);
  width: 309px;
  height: 80px;
  min-width: 160px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  background: transparent;
  transition: var(--transition-smooth);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.Our-services-link:hover,
.Our-services-link:focus-visible {
  background: var(--header);
  color: var(--light-bg-theme);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.2);
}

.Our-works-link {
  padding: 16px 16px;
  border-radius: 6px;
  font-size: 1.5rem;
  font-weight: 700;
  width: 309px;
  height: 80px;
  min-width: 160px;
  color: var(--light-bg-theme);
  background: var(--primary-color);
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.social-proof{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 96px 0;
}

.hero-freelance {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  color: var(--text-color);
  height: fit-content;
  padding: 96px 60px;
}

.hero-freelance > span{
  font-size: 4rem;
  color: var(--header);
  font-weight: bold;
  text-align: center;
}

.hero-socials {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 64px;
  align-items: center;
  height: fit-content;
}

.hero-socials img{
  display: flex ;
  flex-direction: row;
}

.hero-socials img {
  width: 250px;
  transition: var(--transition);
}
.hero-socials a:hover img {
  opacity: 1;
}

/* End of hero section */

/* Storyline-Hook Section */
.Storyline-Hook{
  display: flex;
  flex-direction: column;
}

.hook-container{
  padding: 96px 60px;
}

.hook-container div{
  font-size: 2rem;
  color: var(--body-text);
  text-align: center;
}


/* --- About Section --- */
.about-section {
  display: flex;
  flex-direction: column;
  padding: 60px 96px;
}

.about-container{
  display: flex;
  flex-direction: row;
  gap: 64px;
}

/* Ensure About page main heading is centered with clear whitespace */
.about-page .about-container h1 {
  text-align: center;
  margin: 48px auto 56px;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.about-text{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-header{
  font-size: 3rem;
  text-align: left;
  font-weight: bolder;
  font-family: 'Frauces', serif;
  color: var(--header);
}

.about-text p {
  font-size: 2rem;
  font-weight: normal;
  line-height: normal;
  color: var(--body-text);
}

.about-profile img {
  border-radius: 6px;
}

.founder-info{
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 10px 0;
}

.founder-info p{
  color: var(--body-text);
  font-size: 1.5rem;
  font-weight: normal;
  line-height: normal;
}

.founder{
  font-size: 3rem;
  font-weight: normal;
  font-family: 'Frauces', serif;
  line-height: normal;
}

.profile-image{
  width: 2500px;
  padding: 0;
  background: none;
  margin: 0;
  height: auto;
  display: block;
}

.about-profile h3 {
  font-size: 2rem;
  font-weight: bold;
  color: var(--header);
  margin-bottom: 0.25rem;
}
.about-profile span {
  font-weight: 600;
  color: var(--text-color);
  display: block;
  margin-bottom: 1rem;
}
.about-profile p {
  line-height: 1.6;
  color: #374151;
}

/* --- Services Section --- */
.services-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 60px 119px;
}

.service-header{
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.services-grid {
  display: flex;
  justify-content: space-between;
}

.service-card {
  background: var(--light-bg-theme);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-color);
  line-height: 1.6;
}

/* --- Features Section ("SAME DAY") --- */
.features-grid {
  display: flex;
  justify-content: space-between;
}

.feature-card {
  text-align: center;
  max-width: 500px;
  padding: 32px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}


.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--body-text);
  padding: 20px;
}

/* --- Stack Section --- */
.stack-section {
  padding: 60px 96px;
  height: fit-content;
  gap: 64px;
}

.stack-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stack-list svg {
  width: 48px;
  height: 48px;
  color: var(--text-color);
  opacity: 0.6;
  transition: var(--transition);
}

.stack-list svg:hover {
  opacity: 1;
  color: var(--header);
  transform: scale(1.1);
}

.stack-icon{
  width: 100px;
  height: 97.5px;
}

.portfolio {
  background: var(--light-bg-theme);
  padding: 96px 60px;
  color: var(--header);
}


.portfolio-container {
  width: fit-content;
  margin: 0 auto;
}

.portfolio-content {
  padding: 60px 0;
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.portfolio-header h2 {
  font-size: 4rem;
  font-weight: bold;
  color: var(--header);
  margin-bottom: 0.5rem;
}

.portfolio-header .subtitle {
  font-size: 2rem;
  color: var(--header);
  font-weight: normal;
}

.portfolio-header .description {
  color: var(--body-text);
  font-weight: normal;
  font-size: 2rem;
}

.portfolio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.portfolio-list h3 {
  font-size: 3rem;
  font-weight: bold;
  color: var(--header);
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.portfolio-list ul li strong{
  font-size: 2rem;
  font-weight: bold;
  color: var(--header);
}

.portfolio-list ul li span{
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-color);
}

.portfolio-list ul {
  list-style: none;
}

.portfolio-list li {
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-list li strong {
  font-size: 1.05rem;
  display: block;
  color: var(--header);
}

.portfolio-list li span {
  color: var(--text-color);
  font-size: 0.9rem;
}

.portfolio-list li:hover {
  background: rgba(169, 255, 28, 0.08);
}

.portfolio-list li.active {
  background: rgba(169, 255, 28, 0.15);
  border-left: 4px solid var(--primary-color);
  padding-left: calc(1rem - 4px);
}

.portfolio-preview {
  text-align: center;
}

.portfolio-preview img {
  max-width: 350px;
  width: 100%;
  height: auto;
  transition: var(--transition);
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

/* --- Testimonials Section --- */
/* .testimonials {
  display: flex ;
  flex-direction: column;
  background: #FDFDFD;
  gap: 64px;
  padding: 96px 119px;
}

.testimonials-header h2 {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  color: var(--header);
  text-align: center;
  margin: 10px 0;
}

.testimonials-header .subtitle {
  margin: 10px 0;
  font-size: 2rem;
  color: #374151;
  font-weight: 400;
  text-align: center;
}

.testimonials-header .description {
  margin: 10px 0;
  width: fit-content;
  color: var(--text-color);
  font-size: 2rem;
  text-align: center;
  line-height: normal;
} */

/* .testimonials {
  display: flex ;
  flex-direction: column;
  background: #FDFDFD;
  gap: 64px;
  padding: 96px 119px;
}

.testimonials-header h2 {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  color: var(--header);
  text-align: center;
  margin: 10px 0;
}

.testimonials-header .subtitle {
  margin: 10px 0;
  font-size: 2rem;
  color: #374151;
  font-weight: 400;
  text-align: center;
}

.testimonials-header .description {
  margin: 10px 0;
  width: fit-content;
  color: var(--text-color);
  font-size: 2rem;
  text-align: center;
  line-height: normal;
} */

/* --- Grid Layout --- */
/* .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--header);
  margin-bottom: 0.2rem;
}

.testimonial-info .company {
  font-size: 0.85rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.testimonial-info .feedback {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.5;
} */

/* --- Responsive --- */
/* @media (max-width: 768px) {
  .testimonials-header h2 {
    font-size: 1.8rem;
  }

  .testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-img {
    margin-bottom: 0.5rem;
  }
}

.testimonial-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
} */

/* --- Featured Work Section --- */
.features-section{
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 60px 0;
}

.featured-work-section {
  display: flex;
  flex-direction: column;
  padding: 96px 60px;
  display: flex;
  gap: 64px;
}

.header-and-text{
  display: flex;
  flex-direction: column; 
  gap: 32px;
}

.header-text{
  font-family: "frauces", serif;
  font-size: 4rem;
}

.sub-text{
  color: var(--body-text);
  font-size: 2rem;
  font-weight: normal;
}

/* --- USP Section --- */
.usp-section {
  padding: 60px 119px;
  display: flex;
  flex-direction: column;
}

.usp-text {
  text-align: center;
  font-size: 2rem;
  color: var(--body-text);
  margin: 0 auto;
  line-height: normal;
}

/* --- Quote Section --- */
.quote-section {
  padding: 60px 96px;
}

.closing-quote {
  font-weight: bold;
  font-size: 4rem;
  color: var(--header);
  text-align: center;
  max-width: 1056px;
  margin: 0 auto;
  font-style: italic;
  border: none;
  padding: 0;
}

/* --- Services 3-column & list --- */
.services-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.service-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.8;
}

.service-list li {
  margin-bottom: 0.25rem;
}

.contact-subtitle {
  margin-bottom: 0.5rem;
}

.contact-page .contact-form {
  margin-bottom: 3rem;
}

.contact-info-block {
  margin-top: 2rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.contact-info-list li a,
.contact-info-list .contact-address {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  font-size: 1rem;
}

.contact-info-list a:hover {
  color: var(--primary-color);
}

.contact-info-list i {
  width: 20px;
  text-align: center;
}

/* --- Footer bottom row --- */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #f3f4f6;
}

.copyright-text {
  margin: 0;
  font-size: 1rem;
}

.footer-social-links {
  display: flex;
  gap: 1.5rem;
}

.footer-social-links a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-social-links a:hover {
  color: var(--primary-color);
}

/* --- Contact Section --- */
.contact-section {
  padding: 60px 119px;
}

.contact-section .container{
  gap: 32px;
}

.contact-section .container .section-title{
  font-weight: bold;
  font-size: 4rem;
  text-align: center;
  color: var(--header);
}

.contact-section .container ,.contact-p{
  font-weight: normal;
  font-size: 2rem;
  text-align: center;
  color: var(--body-text);
}

.contact-form {
  padding: 60px 0;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 33px;
}

.contact-form .form-group {
  padding: 10px 10px;
  gap: 10px;
  width: 100%;
}

.form-group input{
  padding: 10px 10px;
  gap: 10px;
  border: 1px var(--header);
  border-radius: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: var(--light-bg-theme);
  color: var(--header);
  transition: var(--transition);
}

select#services {
    color: var(--text-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-color);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(169,255,28,0.5);
}

/* Style for select dropdown */
.contact-form select {
  color: var(--text-color); /* Placeholder color */
}
.contact-form select:valid {
  color: var(--header); /* Color when an option is selected */
}
.contact-form option {
  color: var(--header);
  background: var(--light-bg-theme);
}

.submit-button {
  /* Re-using your .learn-about-button style */
  background: var(--primary-color);
  border-radius: 6px;
  padding: 1rem 2rem;
  color: var(--button-text);
  font-weight: 700;
  font-size: 2rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 2px;
}
.submit-button:hover {
  opacity: 0.85;
}

/* --- Footer --- */
.site-footer {
  padding: 60px 60px;
  gap: 32px;
}

.footer-grid {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding: 0;
}

.footer-col h3{
  font-size: 4rem;
}

.footer-col ul a{
  font-size: 2rem;
  color: var(--text-color);
}

.footer-logo{
  height: auto;
  width: clamp(100px, 20vw, 150px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--primary-color);
}

.copyright {
  margin-top: 3rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #f3f4f6;
  font-size: 1.5rem;
  color: var(--text-color);
}

/* ===============================================
--- RESPONSIVENESS (for new sections) ---
===============================================
*/

@media (max-width: 900px) {
  .hero-headline {
    font-size: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 70px; /* Adjust for mobile navbar height */
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-freelance {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0 1rem;
  }

  .footer-contact {
    align-items: center;
  }
}

@media (max-width: 500px) {
  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   RESPONSIVE FIXES — Preserve desktop layout, improve mobile/tablet
========================================================== */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {

  .hero-section {
    padding: 80px 60px;
    text-align: center;
  }

  .hero-headline {
    font-size: 2.5rem;
    max-width: 90%;
  }

  .hero-subheadline {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .about-section,
  .services-section,
  .stack-section,
  .portfolio,
  .testimonials,
  .contact-section,
  .site-footer {
    padding: 80px 60px;
  }

  .portfolio-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portfolio-preview img {
    max-width: 450px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stack-list {
    justify-content: center;
    gap: 2rem;
  }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .hero-section {
    padding: 60px 24px;
  }

  .hero-headline {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .hero-subheadline {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .explore_link,
  .learn_us_link {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
  }

  .social-proof {
    flex-direction: column;
    gap: 32px;
    padding: 60px 24px;
  }

  .hero-socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .about-section,
  .services-section,
  .portfolio,
  .testimonials,
  .contact-section {
    padding: 60px 24px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-list h3 {
    font-size: 2rem;
  }

  .portfolio-list li strong,
  .portfolio-list li span {
    font-size: 1.2rem;
  }

  .portfolio-header h2 {
    font-size: 2.2rem;
  }

  .portfolio-header .description {
    font-size: 1.2rem;
  }

  .testimonials-header h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-img {
    width: 60px;
    height: 60px;
  }

  .contact-form {
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .copyright {
    font-size: 1rem;
  }
}

/* --- Small Mobile (≤480px) --- */
@media (max-width: 480px) {

  .hero-section {
    padding: 48px 16px;
    gap: 40px;
  }

  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .hero-buttons a {
    font-size: 1rem;
    padding: 10px 16px;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-header h2 {
    font-size: 1.8rem;
  }

  .portfolio-preview img {
    max-width: 280px;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .footer-col h3 {
    font-size: 1.5rem;
  }

  .footer-col a span {
    font-size: 1rem;
  }
}


/* ==========================================================
   GLOBAL FONT & LAYOUT ADJUSTMENTS
========================================================== */
body {
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--text-color);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
p { font-size: 1rem; color: var(--text-color); }

/* Reduce font sizes slightly on very large screens */
@media (min-width: 1440px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.6rem; }
  p  { font-size: 1.05rem; }
}

@media (max-width:1392px) {
  .hero-headline{
    max-width: 1392px;
  }
}

/* ==========================================================
   ABOUT SECTION RESPONSIVE FIX
========================================================== */

.about-section {
  padding: 100px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-content .cta {
  display: inline-block;
  background: var(--primary-color);
  color: var(--button-text);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.about-content .cta:hover {
  background: #94e61a;
}

.about-image {
  flex: 1;
  text-align: right;
}

.about-image img {
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
========================================================== */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 80px 40px;
  }

  .about-content {
    max-width: 90%;
    order: 2;
  }

  .about-image {
    order: 1;
    text-align: center;
  }

  .about-content h2 {
    font-size: 1.9rem;
  }

  .about-content p {
    font-size: 0.95rem;
  }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }
  p  { font-size: 0.95rem; }

  .about-section {
    padding: 60px 24px;
    gap: 40px;
  }

  .about-content p {
    font-size: 0.9rem;
  }

  .about-content .cta {
    width: 100%;
    padding: 14px;
  }
}

/* --- Small Mobile (≤480px) --- */
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  p  { font-size: 0.9rem; }

  .about-section {
    padding: 48px 16px;
  }

  .about-content {
    max-width: 100%;
  }

  .about-content p {
    font-size: 0.85rem;
  }

  .about-image img {
    border-radius: 12px;
  }
}

/* -------------------------------------------------
   Final responsive polish (non-invasive)
   - Keeps .scene/.sphere untouched
   - Makes paddings and spacing fluid across pages
------------------------------------------------- */

/* Make image and media elements fully responsive */
img, svg, picture, video {
  max-width: 100%;
  height: auto;
}

/* About page specifics: keep profile and text readable */
.about-container {
  gap: 32px;
  align-items: flex-start;
}

/* Footer: ensure even spacing and stack gracefully */
.footer-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .footer-grid { gap: 36px; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col { margin: 0 auto; }
  .about-container { flex-direction: column; align-items: center; }
}

/* Make sure nav menu doesn't overflow on tiny devices */
@media (max-width: 420px) {
  .menu-items a { font-size: 0.95rem; }
  .logo { width: 120px; }
}

/* Small accessibility tweak: increase hit area for mobile nav buttons */
.contact-button, .learn-about-button { min-height: 44px; }

/* ==========================================================
   Mobile-first polish for the homepage
========================================================== */

.main-content {
  width: 100%;
  overflow: hidden;
}

.navbar .container,
.hero-section .container {
  width: 100%;
}

.services-grid,
.features-grid {
  gap: 24px;
}

.service-card,
.feature-card {
  min-width: 0;
}

.about-profile {
  flex: 0 0 min(36%, 360px);
}

.profile-image {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portfolio-container,
.hook-container,
.hero-freelance,
.service-header,
.usp-section,
.quote-section,
.footer-grid,
.footer-bottom {
  max-width: 1200px;
  width: 100%;
}

.portfolio-container,
.hook-container,
.hero-freelance,
.service-header,
.usp-section,
.quote-section {
  margin-left: auto;
  margin-right: auto;
}

.services-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}

@media (max-width: 1024px) {
  .navbar {
    padding: 10px 32px;
  }

  .hero-section,
  .social-proof,
  .hook-container,
  .portfolio,
  .about-section,
  .services-section,
  .usp-section,
  .features-section,
  .stack-section,
  .contact-section,
  .quote-section,
  .site-footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-headline {
    font-size: clamp(3rem, 8vw, 5rem);
  }

  .hero-subheadline,
  .hook-container div,
  .about-text p,
  .portfolio-header .subtitle,
  .sub-sub-service-text,
  .usp-text,
  .contact-p {
    font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  }

  .hero-socials img {
    width: clamp(140px, 22vw, 220px);
  }

  .about-container {
    align-items: center;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col h3,
  .closing-quote {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .footer-col ul a {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
    padding: 10px 18px;
  }

  .navbar .container {
    gap: 16px;
  }

  .main-content {
    padding-top: 70px;
  }

  .hero-section {
    min-height: calc(100svh - 70px);
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .heading-subtext,
  .hero-header {
    width: 100%;
    gap: 20px;
  }

  .hero-headline {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 4.2rem);
    line-height: 1.03;
  }

  .hero-subheadline {
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.5;
  }

  .hero-buttons {
    max-width: 420px;
    padding: 0;
  }

  .Our-works-link,
  .Our-services-link {
    width: 100%;
    height: auto;
    min-height: 56px;
    font-size: 1rem;
  }

  .hero-animation {
    width: 180%;
    opacity: 0.28;
  }

  .hero-freelance {
    padding: 0;
    gap: 32px;
  }

  .hero-freelance > span,
  .portfolio-header h2,
  .section-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-socials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .hero-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  .hero-socials img {
    width: 100%;
    max-width: 145px;
  }

  .portfolio-content,
  .about-container,
  .services-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-container {
    gap: 36px;
  }

  .about-profile {
    flex-basis: auto;
    width: min(100%, 360px);
  }

  .about-header,
  .about-text,
  .founder-info {
    text-align: center;
  }

  .about-header,
  .founder {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .service-card,
  .feature-card {
    padding: 24px;
  }

  .feature-card {
    max-width: none;
  }

  .feature-card p {
    padding: 0;
  }

  .stack-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
  }

  .stack-icon {
    width: 72px;
    height: 72px;
  }

  .contact-form {
    padding: 32px 0 0;
    gap: 20px;
  }

  .contact-form .form-group {
    padding: 0;
  }

  .submit-button {
    font-size: 1.1rem;
    min-height: 54px;
  }

  .footer-grid {
    justify-items: center;
  }

  .footer-bottom {
    justify-content: center;
  }

  .footer-social-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-section,
  .social-proof,
  .hook-container,
  .portfolio,
  .about-section,
  .services-section,
  .usp-section,
  .features-section,
  .stack-section,
  .contact-section,
  .quote-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .logo {
    width: 112px;
  }

  .hero-socials,
  .stack-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-content {
    padding: 36px 0 0;
  }

  .portfolio-list ul li strong,
  .portfolio-list ul li span {
    font-size: 1rem;
  }

  .footer-col ul a,
  .copyright-text,
  .footer-social-links a {
    font-size: 0.95rem;
  }
}
