/* ================= RESET ================= */
*,*::before,*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{scroll-behavior:smooth;}
:root{
  --gray-600:#475569;
}


body{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:#1e293b;
  line-height:1.6;
  background:#fff;
}

img{max-width:100%;display:block;}

a{text-decoration:none;color:inherit;}

/* ================= LAYOUT ================= */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 1.25rem;
}

/* ================= NAV ================= */
.nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  background:#fff;
  z-index:100;
  transition:box-shadow .2s;
}

.nav.scrolled{
  box-shadow:0 1px 3px rgba(0,0,0,.08);
}

.nav-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:64px;
}

.logo{
  font-weight:700;
  font-size:1.2rem;
  color:#1e3a5f;
}

.nav-links{
  display:flex;
  gap:1.5rem;
  list-style:none;
}

.nav-links a{
  color:#475569;
  font-size:.9rem;
}

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

/* ================= HERO ================= */
.hero{
  padding:9rem 0 7rem;
  background:
      linear-gradient(rgba(20,10,10,0.38), rgba(20,10,10,0.38)),
    url('images/hero.jpg') center/cover no-repeat;
 color:#fff;
  text-align:left;
}

.hero h1{
  font-size:4.4rem;
  line-height:1.02;
  margin-bottom:2rem;
  color:#78aee8;
  font-weight:700;
  letter-spacing:-2px;
  max-width:620px;

}

.hero p{
  opacity:.95;
  margin-bottom:1rem;
  max-width:520px;
  

}
.hero-subheadline{
  font-size:1.6rem;
  color:#ffffff;
  font-weight:500;
  margin-bottom:.75rem;
}

.hero-supporting{
  font-size:1.2rem;
  color:rgba(255,255,255,.92);
}
.hero-actions{
  margin-top:2rem;
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}
.hero-content{
 max-width:620px;
  margin-left:0;
  padding-left:4rem;
}

/* ================= BUTTONS ================= */
.btn{
  display:inline-block;
  padding:.75rem 1.5rem;
  border-radius:8px;
  font-weight:600;
}

.btn-primary{
  background:#1e3a5f;
  color:#fff;
}

.btn-primary:hover{
  background:#2a5a8f;
  .btn-outline{
  }  
  
  background:transparent;
  color:#fff;
  border:2px solid #fff;
}

.btn-outline:hover{
  background:#fff;
  color:#1e3a5f;
}
}
.btn-whatsapp{
   background:#25D366;
  color:#fff;
}

.btn-whatsapp:hover{
  background:#1ebe5b;
}
/* ================= SECTIONS ================= */
.section{
  padding:5rem 0;
}

.process-section{
  background:#dde8f5;
}

.section-title{
  font-size:2rem;
  margin-bottom:1rem;
  color:#1e3a5f;
  text-align:center;
}

.section-subtitle{
  text-align:center;
  color:#475569;
  margin-bottom:2.5rem;
}
/* === About Section Improvements === */

.about-container{
  max-width:900px;
  margin:0 auto;
}

#about{
  padding-top:7rem;
}

.about-text p{
  margin-bottom:1.25rem;
  color:var(--gray-600);
  line-height:1.8;
  
}

/* ================= SECTION BACKGROUNDS ================= */

#about{
  background:#FFFFFF;
}

#services{
  background:#EAF3FB;
}

#why-us{
  background:#FFFFFF;
}

#gallery{
  background:#EAF3FB;
}

#contact{
  background:#FFFFFF;
}
/* ================= ABOUT FLOAT IMAGE ================= */

.about-float-img{
  float:right;
  width:340px;
  max-width:45%;
  margin:0 0 1.5rem 2rem;
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,0.12);
}
/* ================= HOW IT WORKS ================= */

.process-timeline{
  max-width:850px;
  margin:4rem auto 0;
  display:flex;
  flex-direction:column;
  gap:2rem;
}

.process-step{
  display:flex;
  gap:1.5rem;
  align-items:flex-start;
  padding-bottom:2rem;
  border-bottom:1px solid rgba(0,0,0,0.08);
}

.process-number{
  width:52px;
  height:52px;
  min-width:52px;
  border-radius:50%;
  background:#1e3a5f;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:1.1rem;
}

.process-content h3{
  font-size:1.2rem;
  margin-bottom:.5rem;
  color:#1e3a5f;
}

.process-content p{
  color:var(--gray-600);
  line-height:1.7;
  max-width:680px;
}
/* ================= WHY PICOBUILDER ================= */

.feature-container{
  max-width:1100px;
}


.why-pico-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1.5rem;
  margin-top:3rem;
}

.why-pico-card{
  background:#fff;
  padding:2rem;
  border-radius:12px;
  box-shadow:0 6px 20px rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.04);
}

.why-pico-card h3{
  color:#1e3a5f;
  margin-bottom:0.75rem;
  font-size:1.1rem;
}

.why-pico-card p{
  color:#475569;
  line-height:1.7;
}
/* ================= SERVICES ================= */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2rem;
}

.card{
  background:#fff;
  padding:1.5rem;
  border-radius:8px;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
}
/* =========================
   PORTFOLIO SECTION
========================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
     cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-6px);
     box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.portfolio-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    margin-bottom: 1rem;
}

.portfolio-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-label {
    display: inline-block;
    background: #f3f3f3;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ================= UTILS ================= */
.text-left{text-align:left;}
.text-center{text-align:center;}

/* ================= FOOTER ================= */
.footer{
  background:#0f1f35;
  color:#fff;
  text-align:center;
  padding:2rem 0;
  font-size:.9rem;
}
.footer a{
  color:#ffffff;
  text-decoration:none;
  font-weight:600;
}

.footer a:hover{
  text-decoration:underline;
}
/* ================= MOBILE ================= */


@media(max-width:768px){

  .hero h1{
    font-size:1.8rem;
  }

  .nav-links{
    display:none;
  }

  .about-float-img{
    float:none;
    display:block;
    width:100%;
    max-width:100%;
    margin:2rem auto;
  }

  .hero-content{
    padding-left:1.25rem;
  }

  .hero h1{
    font-size:2.6rem;
    letter-spacing:-1px;
  }

  .process-step{
    gap:1rem;
  }

  .process-number{
    width:42px;
    height:42px;
    min-width:42px;
    font-size:1rem;
  }

  .process-content h3{
    font-size:1.05rem;
  }

}

/* ================= GALLERY ================= */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}

.gallery-item img{
  width:100%;
  display:block;
  border-radius:10px;
}

.gallery-item p{
  text-align:center;
  margin-top:.75rem;
  font-weight:600;
}

/* ================= WHATSAPP ================= */

.btn-whatsapp{
  background:#25D366;
  color:#fff;
}

.btn-whatsapp:hover{
  background:#1ebe5d;
}

.whatsapp-float{
  position:fixed;
  right:20px;
  bottom:20px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.8rem;
  box-shadow:0 10px 25px rgba(0,0,0,.2);
  z-index:999;
  transition:transform .2s;
    text-decoration:none;
}

.whatsapp-float:hover{
  transform:scale(1.08);

}
.portfolio-card {
    position: relative;
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.0);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;

    opacity: 0;
    transition: all 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.45);
}
.portfolio-card img {
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.03);
}