@import 'utilities.css';
:root{
    --primary:#3eb0d2;
    --dark:#070806;
    --pure:#dedfda;
    --ternary:#d4d7e0;
    --light:#e0ebe5;
    --secondary:#070606;
    --gray:#a19a9a;
    
}
body{
    font-family:'Montserrat',sans-serif;
}
*{
    padding: 0;
    margin:0;
    box-sizing: border-box;
    -webkit-font-smoothing:antialiased;
}

header{
    background: var(--dark);
    clip-path: polygon(0 0,100% 0,100% 100%,80% 90%,0 110%);
}
.container{
    max-width:1152px;
    padding:0 15px;
    margin:0 auto;
}

header nav .left a{
    color:var(--pure);
    text-decoration: none;
    margin-right:2rem;
    text-transform: uppercase;
    transition: all .3s ease;
}
header nav .left a:hover{
    color: var(--primary);
}
header nav{
    padding:2rem 0;
}
header nav .branding{
    margin-right:3rem;
}

.hero{
    padding:3rem 0;
}
.hero .left img{
    width:370px; 

}
.hero .right{
    color:var(--pure);
}
.hero .right h6{
    font-size:1.6rem;
    color:var(--primary);
    margin-bottom:0.5rem;
}
.hero .right h1{
    font-size:4rem;
    font-weight:100;
    line-height:1.2;
    margin-bottom:2rem;
}
.hero .right h1 span{
    color:var(--primary);
}
.hero .right p{
    line-height:1.9;
    margin-bottom:1rem;
}
.hero .right{
    margin-top:1rem;
    margin-bottom:1rem;
}

section{
    padding:6rem 0;
}
section.About .About-me-img{
    height:300px;
    max-width: 100%;
    margin-right: 2rem;
    margin-left: 6rem;
}
section.About .container{
    gap:2rem;
}
section.About h1{
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 700;
}
section.About h1 span{
    color:var(--primary);

}
section.About h3{
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 400;
}
section.About p{
    font-family:'Lato',sans-serif;
    color:var(--dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}
section.About .social{
    display: flex;
}
section.About .social a{
    background:var(--dark);
    display: flex;
    align-items: center;
    justify-content:center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 0.6rem;
    transition: all .3s ease;
}section.About .social a:hover{
    background: var(--primary);
}
section.About .social a img{
    width: 100%;
    height: 100%;
    padding:0.5rem;

}

.section-heading{
    color: var(--secondary);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 0.5;
}
.section-heading span{
    color:var(--primary);
}
.section-heading + p{
    color: var(--dark);
    font-family: 'Lato',sans-serif;
    margin-bottom: 3rem;
    text-align: center;
    font-size: 15px;
    margin-top: 2rem;
}
section.services{
    background: var(--gray);
    padding: 50px 40px;
}
section.services .card-wrapper{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 2rem;
  grid-row-gap: 5rem;
  max-width: 1100px;   
  margin: 0 auto;
}
section.services .card-wrapper .card{
    background: var(--pure);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all .3s ease;
    box-shadow: 0 8px 20px;
    rgba(0,0,0,0.08);
    border-radius: 20px;
}
section.services .card .icon-box {
  position: absolute;
  top: -3.5rem;
  left: 50%;
  transform: translateX(-50%);
  
  background: #4db6ac;
  padding: 15px;
  border-radius: 10px;   /* ⭐ THIS fixes the “sharp” look */
  z-index: 2;
}
section.services .card-wrapper .card img{
  position: absolute;
  top:-3.5rem;
  left:50%;
  transform: translate(-50%);
  width: 32px;
  height: 32px;
}
section.services .card-wrapper .card h2{
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 0.5rem;
}
section.services .card-wrapper .card p{
    font-family: 'Lato',sans-serif;
    color:var(--dark);
}
section.services .card-wrapper .card:hover{
    background: var(--dark);
}
section.services .card-wrapper .card:hover h2, section.services .card-wrapper .card:hover p{
    color:var(--pure);
}
section.services .card-wrapper .card .icon {
  width: 70px;
  height: 70px;
  background: var(--primary);   /* blue */
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
}

section.services .card-wrapper .card .icon i {
  color: white;
  font-size: 28px;
}
section.projects {
  padding: 5rem 0;
}
.section-heading p {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
  margin-top: 2rem;
  font-size: 15px;
  font-weight: 400;
}
.project-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--pure);
  padding: 22px;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 3rem;
  max-width: 320px;
  width: 100%;
  border-radius: 12px;
  line-height: 1.5;
  box-shadow: 0 8px 20px;
    rgba(0,0,0,0.08);
}

.project-card:hover {
  background: var(--dark);
  color: var(--pure);
}
.projects-container {
  justify-items: center;
}
/* ================= CONTACT SECTION ================= */

section.contact {
  padding: 5rem 0;
  background: var(--gray);
}

.contact .section-heading {
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact .section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark);
}

.contact-form {
 max-width: 600px;
 margin: 0 auto;
}
.contact-form button{
    display: block;
    margin: 20px auto 0;
}
.contact h2 span{
    color:var(--primary);
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  
}

.contact-form textarea {
  resize: none;
}

.footer-text {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;

}
.contact{position:relative}.contact-info{
    position:absolute;
    bottom:20px;left:20px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-left: 20px;
}
@media (max-width: 768px) {
  .feature-box {
    grid-template-columns: 1fr;
  }

  .header {
    flex-direction: column;
  }

  .header nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 36px;
  }
}
