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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Ubuntu',sans-serif;
  background:#fafafa;
  color:#333;
  line-height:1.6;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

header{
  background:#fff;
  border-bottom:1px solid #ececec;
  position:sticky;
  top:0;
  z-index:10;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:75px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:28px;
  font-weight:bold;
  color:#f57c00;
}

.logo-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  background:#f57c00;
  color:#fff;
  font-size:20px;
  border-radius:8px;
}

.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
}

.nav-toggle span{
  display:block;
  width:28px;
  height:3px;
  background:#f57c00;
  margin:5px 0;
  border-radius:2px;
  transition:.2s;
}

nav a{
  text-decoration:none;
  color:#f57c00;
  margin-left:25px;
  transition:.2s;
}

nav a:hover,
nav a:focus-visible{
  color:#dd6f00;
  outline:none;
}

nav a:focus-visible{
  outline:2px solid #f57c00;
  outline-offset:4px;
  border-radius:2px;
}

.hero{
  min-height:calc(100vh - 75px);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
}

.hero h1{
  font-size:46px;
  margin-bottom:20px;
}

.hero span{
  color:#f57c00;
}

.hero p{
  max-width:700px;
  margin:auto;
  font-size:18px;
  color:#666;
}

.hero::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:120px;
  background:linear-gradient(to top,rgba(0,0,0,.06),transparent);
  pointer-events:none;
}

.scroll-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  color:#f57c00;
  font-size:22px;
  text-decoration:none;
  animation:bounce 2s infinite;
  position:absolute;
  bottom:30px;
}

.scroll-btn:hover{
  color:#dd6f00;
}

@keyframes bounce{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(10px)}
}

.btn{
  display:inline-block;
  margin-top:35px;
  padding:14px 28px;
  background:#f57c00;
  color:#fff;
  text-decoration:none;
  border-radius:8px;
  font-weight:bold;
  transition:.2s;
}

.btn:hover,
.btn:focus-visible{
  background:#dd6f00;
  outline:none;
}

.btn:focus-visible{
  outline:2px solid #dd6f00;
  outline-offset:3px;
}

section{
  padding:70px 0;
  scroll-margin-top:85px;
}

.section-title{
  display:flex;
  flex-direction:column;
  align-items:center;
  color:#f57c00;
  text-align:center;
  font-size:34px;
  margin-bottom:45px;
}

.section-title .title-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.section-title::after{
  content:'';
  width:100%;
  height:3px;
  background:#f57c00;
  border-radius:2px;
  margin-top:10px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.card{
  background:#fff;
  padding:30px;
  border:1px solid #ececec;
  border-radius:8px;
}

.card h3{
  color:#f57c00;
  margin-bottom:15px;
}

.card p{
  color:#666;
}

.cta{
  text-align:center;
  background:#fff;
  border-top:1px solid #ececec;
  border-bottom:1px solid #ececec;
}

.cta h2{
  margin-bottom:20px;
}

.about-text{
  text-align:center;
  max-width:850px;
  margin:auto;
  color:#666;
  font-size:18px;
}

footer{
  background:#222;
  color:#ddd;
  text-align:center;
  padding:30px;
}

footer p{
  font-size:15px;
}

#portfolio{
  background:#f9f9f9;
}

.portfolio-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
}

.project-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  border:1px solid #ececec;
  padding:20px;
}

.project-card h3{
  color:#f57c00;
  margin-bottom:10px;
  font-size:18px;
}

.project-images{
  display:grid;
  gap:10px;
  margin-bottom:12px;
}

.project-images.two-img{
  grid-template-columns:1fr 1fr;
}

.project-images img{
  width:100%;
  border-radius:6px;
  border:1px solid #eee;
  display:block;
  cursor:pointer;
}

.project-card p{
  color:#666;
  font-size:14px;
}

.modal{
  display:none;
  position:fixed;
  z-index:999;
  inset:0;
  background:rgba(0,0,0,.85);
  align-items:center;
  justify-content:center;
  padding:20px;
}

.modal-content{
  max-width:90vw;
  max-height:90vh;
  border-radius:8px;
  box-shadow:0 4px 30px rgba(0,0,0,.5);
  object-fit:contain;
}

.modal-close{
  position:absolute;
  top:20px;
  right:30px;
  color:#fff;
  font-size:40px;
  font-weight:bold;
  cursor:pointer;
  line-height:1;
  transition:.2s;
}

.modal-close:hover{
  color:#f57c00;
}

@media(max-width:768px){
  .portfolio-grid{
    grid-template-columns:1fr;
  }

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

  .section-title{
    font-size:26px;
  }

  section{
    padding:50px 0;
  }

  .nav-toggle{
    display:block;
  }

  nav{
    display:none;
    position:absolute;
    top:75px;
    left:0;
    width:100%;
    background:#fff;
    border-bottom:1px solid #ececec;
    flex-direction:column;
    padding:20px 0;
  }

  nav.open{
    display:flex;
  }

  nav a{
    margin:0;
    padding:12px 5%;
    display:block;
  }

  nav a:hover{
    background:#fafafa;
  }
}

.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;
}
