/* ===== ROOT VARIABLES ===== */
:root{
  --primary:#16a34a;
  --primary-dark:#15803d;
  --text:#222;
  --text-light:#555;
  --bg:#ffffff;
  --bg-light:#f8fafc;
  --shadow:0 6px 20px rgba(0,0,0,0.08);
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:Segoe UI, Arial, sans-serif;
  color:var(--text);
  line-height:1.6;
  background:var(--bg);
}

/* ===== HEADINGS ===== */
h1,h2,h3{
  margin-bottom:10px;
}

/* ===== SECTIONS ===== */
section{
  padding:80px 20px;
}

.container{
  max-width:1100px;
  margin:auto;
}

/* ===== REUSABLE COMPONENTS ===== */
.btn{
  padding:14px 26px;
  border:none;
  border-radius:8px;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 6px 18px rgba(0,0,0,0.15);
}

.btn-primary{
  background:var(--primary);
  color:white;
}

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

.btn-linkedin{
  background:#0077b5;
  color:white;
}

/* ===== NAVBAR ===== */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 30px;
  background:var(--bg);
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.logo{
  font-weight:700;
  font-size:16px;
  letter-spacing:0.3px;
}

.nav-links{
  display:flex;
  flex-wrap:wrap;
}

.nav-links a{
  margin-left:22px;
  text-decoration:none;
  color:#333;
  font-weight:500;
  font-size:13px;
  letter-spacing:0.3px;
  transition:0.3s;
}

.nav-links a:hover{
  color:var(--primary);
}

/* ===== HERO ===== */
.hero{
  text-align:center;
  background:linear-gradient(135deg,#ecfdf5,#bbf7d0);
  padding:120px 20px;
}

.hero h1{
  font-size:42px;
}

.hero p{
  max-width:650px;
  margin:auto;
  margin-top:15px;
  color:#444;
  font-size:18px;
}

.cta-buttons{
  margin-top:30px;
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

/* ===== SERVICES & CARDS ===== */
.services, .blog-posts, .basics-content{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
  margin-top:40px;
}

.service, .card, .blog-post, .basic-card{
  padding:25px;
  border-radius:12px;
  border:1px solid #eee;
  background:white;
  transition:0.3s;
  text-align:center;
}

.service i, .blog-post i, .basic-card i{
  font-size:26px;
  color:var(--primary);
  margin-bottom:10px;
}

.service:hover, .card:hover, .blog-post:hover, .basic-card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* ===== THINKING / QUOTES ===== */
.thinking, .quote-section{
  background:var(--bg-light);
  text-align:center;
}

.quote, .quote-section p{
  max-width:700px;
  margin:25px auto;
  font-style:italic;
  color:var(--text-light);
}

/* ===== TIMELINE ===== */
.timeline-section{
  background:var(--bg);
}

.timeline-section h2{
  text-align:center;
  margin-bottom:50px;
}

.timeline{
  position:relative;
  max-width:800px;
  margin:auto;
}

.timeline::before{
  content:'';
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:2px;
  background:var(--primary);
}

.timeline-item{
  padding:20px 40px;
  position:relative;
  width:50%;
}

.timeline-item:nth-child(odd){
  left:0;
  text-align:right;
}

.timeline-item:nth-child(even){
  left:50%;
}

.timeline-dot{
  position:absolute;
  top:20px;
  right:-10px;
  width:20px;
  height:20px;
  background:var(--primary);
  border-radius:50%;
}

.timeline-item:nth-child(even) .timeline-dot{
  left:-10px;
}

.timeline-content{
  background:white;
  padding:20px;
  border-radius:10px;
  box-shadow:var(--shadow);
}

.timeline-content span{
  font-size:14px;
  color:#777;
}

/* ===== WHY / ABOUT ===== */
.why, .about-section{
  text-align:center;
}

.why p, .about-section p{
  max-width:700px;
  margin:auto;
  color:var(--text-light);
  font-size:17px;
}

/* ===== CONTACT ===== */
.contact{
  background:var(--bg-light);
  text-align:center;
}

/* ===== FOOTER ===== */
.footer{
  text-align:center;
  padding:30px;
  background:#111;
  color:#bbb;
  font-size:14px;
}

/* ===== TABLET ===== */
@media(max-width:992px){

  .timeline::before{
    left:20px;
  }

  .timeline-item{
    width:100%;
    padding-left:50px;
    padding-right:20px;
    text-align:left;
  }

  .timeline-item:nth-child(even){
    left:0;
  }

  .timeline-dot{
    left:10px;
    right:auto;
  }

  .services, .blog-posts, .basics-content{
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  }

}

/* ===== MOBILE ===== */
@media(max-width:768px){

  .hero h1{
    font-size:30px;
  }

  .nav-links{
    flex-direction:column;
    gap:10px;
    margin-top:10px;
  }

  .services, .blog-posts, .basics-content{
    grid-template-columns:1fr;
  }

}

/* ===== SMALL PHONES ===== */
@media(max-width:480px){
  body{
    font-size:15px;
  }

  .cta-buttons{
    flex-direction:column;
    gap:10px;
  }

  .nav-links a{
    font-size:12px;
  }
}
