/* Reset & base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; line-height: 1.6; background: #daf7dc; color: #333; }
a { color: inherit; text-decoration: none; }

/* Hero Section */
header {
  display: flex; flex-direction: column; 
  justify-content: center; align-items: center;
  height: 100vh; 
  background: linear-gradient(135deg, #86bbd8, #336699);
  color: white; 
  text-align: center;
  padding: 0 20px;
}
header h1 { font-size: 3rem; margin-bottom: 0.5rem; }
header p { font-size: 1.3rem; margin-bottom: 2rem; }

header .cta-btn {
  padding: 0.8rem 2rem; 
  background: #9ee493; 
  color: #333;
  border-radius: 5px; 
  font-weight: bold; 
  transition: transform 0.2s;
}
header .cta-btn:hover { 
    transform: scale(1.05);
    background: #daf7dc;
    cursor: pointer;
}

/* Hero buttons container */
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

/* Projects */
section.projects {
  padding: 60px 20px; max-width: 1200px; margin: 0 auto;
}
section.projects h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; }
.projects-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 20px;
}
.project-card {
  display: block;
  background: white; 
  color: inherit;
  border: 1px solic #ccc;
  padding: 1rem; 
  border-radius: 8px; 
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
  cursor: pointer;
}
.project-card img { width: 100%; border-radius: 5px; margin-bottom: 15px; }
.project-card h3 { margin-bottom: 10px; }
.project-card p { font-size: 0.95rem; color: #555; }

/* Contact */
section.contact {
  padding: 20px 20px; 
  text-align: center; 
  background: #2f4858; 
  color: #fff;
}
section.contact h2 { margin-bottom: 20px; }
.icon-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-title {
  font-size: 2.1rem;
  text-align: center;
  font-weight: bold;
}
.icon-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; 
  height: 60px;
  background: #9ee493;
  color: #333;
  border-radius: 8px;
  font-size: 1.6rem;
  text-decoration: none;
  transition: transform 0.2s;
}
.icon-buttons a:hover {
  transform: scale(1.1);
  background: #daf7dc;
}

footer { text-align: center; 
    padding: 20px; 
    font-size: 0.9rem; 
    color: #2f4858; 
}

/* Responsive */
@media(max-width: 600px){
  header h1 { font-size: 2.2rem; }
  header p { font-size: 1rem; }
}

#back-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #9ee493;
  color: #333;
  padding: 2px 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, opacity 0.3s;
  opacity: 0.8;
  z-index: 1000;
}

#back-to-top:hover {
  transform: scale(1.1);
  opacity: 1;
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

/* Scrollbar */
/* Target whole page scrollbars */
html, body {
  scrollbar-width: thin;
  scrollbar-color: #9ee493 #2f4858;
}
