:root {
  --text-color: #111111;
  --bg-color: #ffffff;
  --accent-color: #146EF5;
  --secondary-color: #f2f2f2;
  --transition-speed: 0.5s;
  --focus-outline: 3px solid var(--accent-color);
  --menu-bg-color: #146EF5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Figtree', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after, .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after  {
    display:none!important;
}

.maxwidth{
  max-width:2000px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
}

.more-projects{
padding-top:80px;
}

/* Accessibility styles */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent-color);
  color: white;
  padding: 10px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  cursor: pointer;
  outline: var(--focus-outline);
  outline-offset: 2px;
  background: #fff;
  color: var(--accent-color);
  border-radius: 0;
}


a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex="0"]:focus,
.menu-toggle:focus,
.menu-close:focus,
.menu-link:focus,
.social-link:focus,
.footer-column a:focus,
.next-project:focus,
.project-item:focus,
.service-item:focus,
.newsletter-form button:focus {
  outline: var(--focus-outline) !important;
  outline-offset: 2px !important;
  color: var(--accent-color) !important;
}

a.logo:focus, a.service-item:focus, a.project-item:focus{
  outline: 0 !important;
  outline-offset: 0px !important;
}

a.logo:focus-visible, a.service-item:focus-visible, a.project-item:focus-visible{
  outline: var(--focus-outline) !important;
  outline-offset: 2px !important;
  color: var(--accent-color) !important;
}


.faq-question:focus{
  outline:0 !important;
}

.faq-question:focus-visible{
  outline:2px solid #fff !important;
}



.menu-toggle, .menu-close{
  background: none;
  border: 0;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

img {
  max-width: 100%;
  display: block;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-text {
  font-size: 1.5rem;
  font-weight: 500;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background-color: #eee;
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  animation: loader 1.5s linear infinite;
}

@keyframes loader {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Header */

.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-color);
  letter-spacing: -1px;
  img{
  max-width:160px;
  }
}

body.menu-active .logo {
  color: #fff !important;
  transition: color 0.3s;
}

.header-standard {
  width: 100%;
  padding: 40px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: transform 0.3s, opacity 0.3s;
}

.header-standard.hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.header-compact {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100vw;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: transform 0.4s, opacity 0.4s;
  visibility: hidden;
  pointer-events: none;
}

.header-compact.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

/* Este contenedor centra el contenido y lo limita a 2000px */
.header-compact__maxwidth {
  max-width: 2000px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: flex-end;
  padding-right: 30px; /* igual que el right del header-compact */
}

/* Mobile/tamaño reducido: ajusta el padding si lo necesitas */
@media (max-width: 768px) {
  .header-compact__maxwidth {
    padding-right: 20px;
  }
}

.compact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent-color);
  padding: 15px 20px;
}

.header-compact .logo {
  color: #fff;
  margin-right:16px;
}

.header-compact .menu-toggle .hamburger span {
  background: #fff;
}

@media (max-width: 768px) {
  .header-compact {
    top: 20px;
    right: 20px;
  }

  .compact-container {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .header-compact {
    top: 15px;
    right: 15px;
  }

  .compact-container {
    padding: 10px 12px;
  }
}

/* Hamburger icon base */
.hamburger {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor:pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-color);
  transition: all 0.4s cubic-bezier(.5,.2,.2,1);
}


body.menu-active .menu-toggle .hamburger span:nth-child(1),
body.menu-active .menu-close .hamburger span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

body.menu-active .menu-toggle .hamburger span:nth-child(2),
body.menu-active .menu-close .hamburger span:nth-child(2) {
  opacity: 0;
}

body.menu-active .menu-toggle .hamburger span:nth-child(3),
body.menu-active .menu-close .hamburger span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Fullscreen Menu */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 900;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s, visibility 0.5s;
}

.menu-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--menu-bg-color);
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}

.menu-container {
  position: relative;
  height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: 0.3s;
  z-index: 1;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.menu-close {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 3;
}

.menu-close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.menu-items {
  list-style: none;
  margin-top: 100px;
}

.menu-items li {
  overflow: hidden;
  margin-bottom: 20px;
}

.menu-link {
  display: inline-block;
  font-size: 5vw;
  font-weight: 800;
  line-height: 1.2;
  color: white;
  transform: translateY(100%);
  transition: transform 0.6s, opacity 0.3s;
}

.menu-link:hover {
  opacity: 0.7;
}

.menu-footer {
  display: flex;
  justify-content: space-between;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  font-size: 1rem;
  font-weight: 500;
  color: white;
  transition: opacity 0.3s;
}

.social-link:hover {
  opacity: 0.7;
}

/* Menu Active State */
.menu-active .fullscreen-menu {
  visibility: visible;
  opacity: 1;
  z-index: 2000;

}

.menu-active .menu-bg {
  transform: translateY(0);
}

.menu-active .menu-container {
  opacity: 1;
  transform: translateY(0);
}

.menu-active .menu-link {
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Hero Section */
.hero {
  padding: 120px 40px 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.hero-content {
  display:flex;
  align-items: flex-end;
  h1{
    margin-bottom:0;
  }
}

h1 {
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 40px;
}

.hero-line {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
}

.hero-word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: revealText 1.2s forwards;
}

@keyframes revealText {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-description {
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
  animation-delay: 1.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-button {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
  animation-delay: 0.5s;
  margin-left:auto;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--text-color);
  color: var(--bg-color);
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.3s, background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-5px);
  background-color: var(--accent-color);
  color:#fff;
}

.btn:focus {
  background-color: var(--accent-color);
  color:#fff!important;
}


.btn-large {
  font-size: 1.5rem;
  height:90px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
 text-align:center;
}

.btn-blue {
  background-color: var(--accent-color);
  margin-left:auto;
  margin-right:auto;
}

.btn-blue:hover {
  background-color: var(--text-color);
}

.btn-white{
  background-color: #fff;
  color:var(--accent-color);
}

.btn-white:hover {
  background-color: var(--text-color);
  color:#fff;
}

.btn-outline{
  border:2px solid #fff;
  color:#fff;
  background-color:transparent;
}

.btn-outline:hover{
  background-color: #fff;
  color:var(--accent-color);
  border-color:#fff;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 1.5s;
}

.scroll-indicator span {
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.scroll-arrow {
  width: 1px;
  height: 60px;
  background-color: var(--text-color);
  position: relative;
  overflow: hidden;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  animation: scrollDown 1.5s ease infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Work Section */
.work {
  padding: 100px 40px;
}

.work .btn{
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 4.5rem;
  font-weight: 700;
}

.section-subheading {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #666;
  margin-top: 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.project-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.project-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0, 0.2, 1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.5s;
}

.project-info {
  color: white;
  transform: translateY(20px);
  transition: transform 0.5s;
}

.project-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.project-info p {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
}

.project-item:hover .project-image img,
.project-item:focus-within .project-image img {
  transform: scale(1.1);
}

.project-item:hover .project-overlay,
.project-item:focus-within .project-overlay {
  opacity: 1;
}

.project-item:hover .project-info,
.project-item:focus-within .project-info {
  transform: translateY(0);
}

.view-more {
  text-align: center;
}







/* Start a Project Section */
.start-project {
  position: relative;
  padding: 150px 40px;
  text-align: center;
  overflow: hidden;
  background-color: var(--text-color);
}

.start-project-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #000 0%, #1a1a1a 100%);
  z-index: -1;
}

.start-project-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.start-project h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 40px;
}



/* Footer */
footer {
  padding: 80px 40px 40px;
  background-color: white;
  color: var(--text-color);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  flex-wrap: wrap;
}


.footer-us p{
  color: var(--text-color);
  opacity: 0.7;
  margin-top:16px;
  margin-bottom:16px;
}

.footer-us a{
  font-weight:600;
  color:var(--text-color);
}

.footer-us .footer-logo{
  font-weight:900;
  color:#111111;
  display: block;
  margin-top: -15px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-color);
  letter-spacing: -1px;
  margin-bottom: 15px;
  opacity:1;
}

.footer-links {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: space-between;
}

.footer-column {
  min-width: 150px;
}

.footer-column h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--text-color);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-column a:hover,
.footer-column a:focus {
  opacity: 1;
}

/* Newsletter Form */
.consent-control{
  margin-top:16px;
}
.footer-newsletter {
  min-width: 368px;
}

.footer-newsletter p {
  margin-bottom: 20px;
  opacity: 0.7;
}

.newsletter-form .form-group {
  display: flex;
  border-top:0px;
  border-left:0px;
  border-right:0px;
}


.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 40px 12px 12px;
  font-size: 1rem;
  color: var(--text-color);
  border-top:0;
  border-left:0;
  border-right:0;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.newsletter-form input:focus-visible {
  outline: var(--focus-outline) !important;
  outline-offset: 2px !important;
  color: var(--accent-color) !important;
}

.newsletter-form input:focus {
  outline: none!important;
  border-color: var(--accent-color);
}

.newsletter-form button {
  background: transparent;
  border: none;
  padding: 0 10px;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s;
  transform: translate(-44px, 2px);
}

.newsletter-form button:hover,
.newsletter-form button:focus {
  color: var(--accent-color);
}

.newsletter-form button:focus{
  outline:none!important;
}

.newsletter-form button:focus-visible{
  outline: var(--focus-outline) !important;
  outline-offset: 2px !important;
  color: var(--accent-color) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 40px;
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}


@media screen and (max-width:1400px){
  .footer-links {
    gap: 48px;
  }
  .footer-newsletter {
    max-width: 400px;
  }
}


/* Custom Checkbox Styling */
.consent-control {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
  position: relative;
}

.consent-input {
  position: absolute;
  opacity: 0; /* Hide the default checkbox */
  width: 0;
  height: 0;
}

.consent-label {
  padding-left: 36px;
  position: relative;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}

.consent-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,0.2);
  background-color: white;
  transition: border-color 0.3s, background-color 0.3s;
}

.consent-input:checked + .consent-label::before {
  background-color: var(--accent-color); /* Using the theme's blue color */
  border-color: var(--accent-color);
}

.consent-label::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 5px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s;
}

.consent-input:checked + .consent-label::after {
  opacity: 1;
}

/* Focus styles for accessibility */
.consent-input:focus + .consent-label::before {
  outline: var(--focus-outline); /* Using the site's focus outline */
  outline-offset: 2px;
}

/* Hover state */
.consent-label:hover::before {
  border-color: var(--accent-color);
}

/* Keyboard focus state for accessibility */
.consent-input:focus:not(:checked) + .consent-label::before {
  border-color: var(--accent-color);
}



@media (max-width: 1279px) {
  h1 {
    font-size: 4rem;
  }
  .hero {
    padding: 120px 40px 30px;
  }
  .hero-button {
    padding-left: 30px;
  }
  .section-heading h2 {
    font-size: 3.5rem;
    font-weight: 700;
  }
  .cta-content h3 {
    font-size: 3.5rem;
  }
  .services {
    padding: 30px 40px;
  }
  .services-cta {
    margin-top: 80px;
  }
  .section-heading {
    margin-bottom: 40px;
  }
}


/* Tablet and small desktop */
@media (max-width: 1024px) {

  h1 {
    font-size: 4rem;
  }

  .section-heading h2 {
    font-size: 3rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .start-project h2 {
    font-size: 3rem;
  }

  .cta h2 {
    font-size: 2.8rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    justify-content: space-between;
  }
  .project-item {
    overflow: visible;
  }
}


@media (max-width: 991px) {
  .hero-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }
      .hero-button {
        padding-left: 0;
        margin-left: 0;
        margin-top: 20px;
    }
}


/* Mobile landscape and small tablets */
@media (max-width: 768px) {
  .menu-items {
    margin-top: 0;
  }
  header, .header-standard, .hero, .work, .services, .cta, .start-project, footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 3.2rem;
    max-font-size: 3.2rem;
  }

  .section-heading h2 {
    font-size: 2.8rem;
  }

  .menu-link {
    font-size: 3rem;
  }

  .start-project {
    padding: 80px 20px;
  }

  .start-project h2 {
    font-size: 2.5rem;
  }

  .cta h2 {
    font-size: 2.3rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .btn-large {
    font-size: 1.3rem;
    max-width: 280px;
    height: 70px;
  }
  .header-standard{
    padding-top:28px;
  }
  .menu-container {
    padding: 40px 20px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .btn{
    width:100%;
    max-width:100%;
  }
  h1 {
    font-size: 3.2rem;
    max-font-size: 3.2rem;
  }

  .section-heading h2 {
    font-size: 2.5rem;
  }

  .menu-link {
    font-size: 2.4rem;
  }


  .start-project {
    padding: 60px 20px;
  }

  .start-project h2 {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .btn-large {
    font-size: 1.2rem;
    height: 60px;
    max-width:100%;
  }

  .footer-logo {
    font-size: 1.8rem;
  }

  .scroll-indicator {
    display:none;
  }
  .hero {
    height: auto;
    padding-top: 80px;
  }
}

/* Very small mobile screens */
@media (max-width: 375px) {
  h1 {
    font-size: 3rem;
    max-font-size: 3rem;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }



  .start-project h2 {
    font-size: 1.8rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .btn-large {
    font-size: 1.1rem;
    max-width: 100%;
    height: 55px;
  }

  .footer-logo {
    font-size: 1.6rem;
  }
}





.menu-toggle:focus, .menu-close:focus {
  outline: 3px solid #146EF5 !important;
  outline-offset: 2px;
}
.menu-link:focus {
  outline: 3px solid #146EF5 !important;
  outline-offset: 4px;
  background: #e5e5ff;
  color: #146EF5 !important;
}
.social-link:focus {
  outline: 3px solid #146EF5 !important;
  outline-offset: 2px;
  background: #e5e5ff;
  color: #146EF5 !important;
}
.menu-active .menu-link, .menu-active .social-link {
  pointer-events: auto;
}
.fullscreen-menu .menu-link, .fullscreen-menu .social-link {
  pointer-events: none;
}
.menu-active .fullscreen-menu .menu-link, .menu-active .fullscreen-menu .social-link {
  pointer-events: auto;
}





.services {
  padding: 100px 40px;
  position: relative;
  background-color: var(--bg-color);
}



.services-list {
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 25px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}



.service-main {
  display: flex;
  align-items: flex-start;
  width: 50%;
}


.service-content {
  flex: 1;
}

.service-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0px;
  transition: color 0.3s ease;
}

.service-item:hover .service-content h3 {
  color: var(--accent-color);
}

.service-details {
  width: 40%;
  padding-left: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
}

.service-item:hover .service-details,
.service-item:focus-within .service-details {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}




.mobile-only {
  display: none;
}

/* CTA */
.services-cta {
  margin-top: 160px;
  padding: 106px 40px;
  background-color: var(--accent-color);
  color: white;
  text-align: center;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.services-cta .section-subheading{
  color:#fff;
  margin-bottom:30px;
}

.cta-content h3 {
  font-size: 4rem;
  line-height:1;
  font-weight: 700;
  margin-bottom: 30px;
  max-width: 68%;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}






@media (max-width: 1024px) {
  .project-overlay{
    opacity:1;
    transform: translateY(0px);
  }
  .project-info {
    transform: translateY(0px);
  }
  .services .section-heading h2 {
    font-size: 3.5rem;
  }

  .service-content h3 {
    font-size: 2.2rem;
  }

  .service-details {
    width: 45%;
  }

  .cta-content h3 {
    font-size: 3rem;
  }
}

@media (max-width:991px) {
  .section-heading {
    margin-bottom: 30px;
  }
  .scroll-indicator{
    display:none;
  }
  .services {
    padding: 40px 40px;
  }

  .service-details {
    width: 45%;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .service-item:hover .service-details, .service-item:focus-within .service-details {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .service-details {
    position: relative;
    top: auto;
  }
  .services-cta {
    margin-top: 80px;
  }
  .work {
    padding: 60px 40px;
  }
  .services-list {
    margin: 30px auto 0;
  }
}


@media (max-width: 768px) {
  .service-item{
    padding-bottom:0;
  }
  .services {
    padding: 30px 20px;
  }

  .services .section-heading h2 {
    font-size: 3rem;
    line-height:3.2rem;
  }

  .service-main {
    width: 100%;
  }

  .service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .service-details {
    display: none; 
  }
  .services-list {
    margin: 0px auto 0;
  }

  .mobile-only {
    display: block;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-top: 10px;
  }
  .work {
    padding: 60px 20px;
  }
  .services-cta {
    margin-top: 80px;
    padding: 40px 20px;
  }

  .cta-content h3 {
    font-size: 3rem;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  .footer-newsletter{
    min-width: auto;
  }
  .hero {
    height: auto;
    padding-bottom: 30px;
    padding-top: 80px;
  }
  .hero-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    margin-bottom: 0;
  }
  .footer-newsletter {
    margin-bottom: 40px;
  }
  .services .section-heading h2{
    font-size: 2.5rem;
    line-height: 3.2rem;
  }

  .service-item {
    padding: 8px 0;
  }

  .service-content h3 {
    font-size: 1.5rem;
  }

  .service-number {
    font-size: 0.9rem;
    margin-right: 15px;
  }

  .services-cta {
    padding: 30px 15px;
    margin-top: 40px;
  }

  .cta-content h3 {
    font-size: 2.4rem;
  }
  .project-item {
    aspect-ratio: auto;
    height: 300px;
  }
  .section-subheading {
    font-size: 1.2rem;
  }
  .project-info h3 {
    font-size: 1.3rem;
  }
  .project-overlay {
    padding: 30px 20px;
  }
}


.sup{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s, transform 1s;
}

.sup.appear{
  opacity: 1;
  transform: translateY(0);
}


.more-projects h3{
    font-size: 3rem;
}

@media screen and (max-width:991px){
  .more-projects h3{
    font-size: 2rem;
}
.more-projects {
    padding-top: 40px;
    padding-bottom: 60px;
}
}


