
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

body {
    font-family: "Inter", sans-serif;
    background-color:#d7d7d7;

}

header {
    margin-top:2rem;
    height: 2.875rem;
   
}
.container{
    width: min(90%,1120px);
    margin-inline: auto;
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.navbar .mobile-logo{
    display: none;
}
.navbar .logo{
    width: 6.729375rem;
    height:6.125rem ;
    cursor: pointer;
}
.nav-links{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    
}
.nav-links li{
    list-style: none;
}
.nav-links li a{
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
}
.nav-links .btn{
    text-decoration: none;
    background-color: #fff;
    color: black;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
    cursor: pointer;
}
.hero{
    margin-top: 2.125rem;
    display: flex;
    flex-direction: column;
}
.hero-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bg-img img{
    width: 60%;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}
.hero-top .content{
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.info h1{
    margin-bottom: 1.375rem;
    font-size: 2rem;
    font-weight: 700;
}
.info h2{
    font-size: 3rem;
    font-weight: 700;
}
.info h6{
    font-size: 1.5rem;
    font-weight: 400;
    color: #909090;
}
.person-img img{
   
    margin-right: 8rem;
    width: 400px;
    height: 468px;
}
.contact-me{
    display: flex;
    justify-content: center;
   gap: 2rem;
}
.contact-me a{
    text-decoration: none;
    color: black;
}
.contact-me i{
    background-color: #C4C4C4;
    padding: 0.625rem .75rem;
    border-radius: 5px;
}
.BERRIES{
    background-color: #1d1d1d;
    display:  flex;
    flex-direction: column;
    align-items: self-start;
    padding: 2rem 3rem;
    color: #fff;
    gap: 1rem;
}
.BERRIES p{
    font-size: 0.6875rem;
    line-height: 1rem;
    color: #909090;
}
.BERRIES span{
    font-size: 0.6875rem;
    line-height: 1rem;
    color: #d7d7d7;
    border-inline: 1px solid #d7d7d7;
    padding-inline: 0.5rem;
}
.humburger{
    display: none;
}
.aboutme{
    margin-top: 8.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}
.aboutme p{
    font-size: 0.6875rem;
    line-height: 1rem;
    color: black;
}
.header-info{
    display: flex;
    flex-direction: column;
   text-align: center;
    align-items: center;
    gap:2rem ;
}
.header-info h4{
    font-size: 2rem;
    font-weight: 700;
    border: 4px solid #000;
    padding: 0.5rem 1rem;
}
.header-info h6{
    font-size: 1rem;
    font-weight: 600;
    border-inline: 2px solid #000;
    padding-inline: 1rem;
}
.grid-about {
  max-width: 900px;      /* or whatever width looks good */
  margin: 0 auto;       /* centers horizontally */
  display: grid;
  justify-content: center;
}
.grid-about h6{
    font-size: 1rem;
    font-weight: 700;
}
.grid-about .columns{
    display: flex;
    flex-direction: column;
    gap: 1rem;

}
.skills{
    margin-top: 8.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}
.using-now, .learning-now, .other-skills{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.using-now, .learning-now, .other-skills h4{
    font-size: 1.5rem;
}
.grid-skills{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    row-gap: 3rem;
    column-gap: 10rem;
}
.grid-item{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
}
.grid-item img{
    width: 130px;
    height: 130px;
}
.portfolio{
    margin-top: 8.875rem;
    display: flex;
    flex-direction: column;
}
.header-img{
    height: 10rem;
    background: url(./images/Section\ Header.png) center / cover  no-repeat;
}
.grid-header{
    background-color: #1c1918;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#d7d7d7;
}
.grid-header .info{
    display: flex;
    padding-bottom: .2rem;
    gap: 3rem;
    border-bottom: 1px solid #fff;
  
}
.grid-header .info p{
    font-size: 0.6875rem;
    line-height: 1rem;
}
.grid-port{
    display: grid;
    grid-template-columns: repeat(3,1fr);
   
}
.grid-port .grid-col{
    height: 20.0625rem;
}
.grid-port .col1{
    background:url(./images/Project.png) center / cover  no-repeat; ;
}
.grid-port .col2{
    background:url(./images/Rectangle\ 17.png) center / cover  no-repeat; ;
}
.grid-port .col3{
    background:url(./images/Project\ \(1\).png) center / cover  no-repeat; ;
}
.grid-port .col4{
    background:url(./images/cyber.jpg) center / cover  no-repeat; ;
}
.grid-port .col5{
    background:url(./images/Project\ \(3\).png) center / cover  no-repeat; ;
}
.grid-port .col6{
    background:url(./images/soon.png) center / cover  no-repeat; ;
}
.contact{
    margin-top: 8.875rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}
form input{
    padding: .5rem  1rem;
    background-color: transparent;
    color: black;
    border: none;
    border-bottom: 4px solid black;
    border-left: 4px solid black;
    width: 60%;
}
form button{
    background-color: transparent;
    padding: .5rem  1.5rem;
    border: none;
    border-inline: 2px solid black;
    font-size: 1.5rem;
}
form #comment{
    height: 100px;
}
footer a{
    text-decoration: none;
    color:#fff;
}
footer{
    margin-top: 3rem;
    background-color: #1c1918;
    color: #fff;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.footer-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.social{
    display: flex;
    gap: 1rem;
}
.footer-info p{
    font-size: 0.6875rem;
    line-height: 1rem;
    color: #d7d7d7;
}
@media (max-width: 768px){
    header{
        margin-top: 0;
        background-color: black;
       height: 3rem;
    }
    .navbar{
        height: 100%;
        align-items: center;
    }
    .navbar .logo{
        display: none;
    }
    .navbar .mobile-logo{
        display: block;
        width: 2.5rem;
        height:2rem ; 
    }
    .nav-links{
        height: 210px;
        position: absolute;
        left: 0;
        right: 0;
        background-color:#1c1918;
        margin-top: 16rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-top:1px solid #d7d7d7 ;
        padding-top: 2rem;
        gap: 2rem;
        transition: transform 100ms ease-in-out ;
    }
    .nav-links .btn{
        width: 100%;
        border-radius: 0;
    }
    .humburger{
        display: block;
    }
    .humburger i{
        color: #fff;
        position: absolute;
        right: 5%;
        top: 2.5%;
        font-size:1.5rem ;
    }
    .humburger i[data-visible="false"]{
        display: none;
    }
    .humburger i[data-visible="true"]{
        display: block;
    }
    .nav-links[data-visible="false"]{
        transform: translateY(-145%);
    }
   
    .bg-img {
        display: none;
    }
    .person-img{
        display: none;
    }
    .hero{
        height: calc(100vh - 3rem);
        margin-top: 0;
        background: url(./images/Background.png)center/cover no-repeat;
        justify-content: center;
        align-items: center;
    }
    .hero-top{
        height: 100%;
        justify-content: center;
        color: #fff;
    }
    .grid-skills{
        grid-template-columns: repeat(2,1fr);
    }
    .grid-port{
        grid-template-columns: repeat(2,1fr);
    }
    form input{
        width: 90%;
    }
}
@media (max-width: 480px){
    .grid-about{
        grid-template-columns: 1fr;
    }
    .grid-skills{
        grid-template-columns: 1fr;
    }
    .grid-port{
        grid-template-columns: 1fr;
    }
    form input{
        width: 100%;
    }
}
/* ===== Reveal effect ===== */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Hover lift */
.columns, .box, .service, .portfolio-box, .skills-box, .contact-box{
  transition: transform .25s ease, box-shadow .25s ease;
}
.columns:hover, .box:hover, .service:hover, .portfolio-box:hover, .skills-box:hover, .contact-box:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}
.grid-port {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:3 rem;
}

.grid-col {
    display: block;
    position: relative;
    height: 20.0625rem;
   
    text-decoration: none;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-col:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

.grid-inner {
    background: rgba(255,255,255,0.85);
    padding: 12px;
    margin: 12px;
    border-radius: 8px;
    color: #000;
}

.grid-col:focus {
    outline: 2px solid #00ffd5;
    outline-offset: 4px;
}
.experience {
  padding: 2rem 0;
}

.experience .header-info h5 {
  letter-spacing: 10px;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 4rem;
}

/* Timeline layout */
.timeline {
  position: relative;
  margin-left: 10px;
  padding-left: 50px;
  margin-top: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: rgba(2, 2, 2, 0.12);
}

/* Item */
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Dot */
.timeline-dot {
  position: absolute;
  left: -52px;
  top: 50px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(22, 31, 43, 0.85);
}

.timeline-dot.accent {
  background: rgba(52,100,60,1); /* matches your green accent */
}

/* Content */
.timeline-content {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(17, 16, 16, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
}

.timeline-content h5 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.timeline-content h5 span {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
}

.timeline-content .subtitle {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: rgba(51, 45, 45, 0.65);
}

.timeline-content ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(83, 83, 83, 0.7);
}

.timeline-content li {
  margin: 6px 0;
  line-height: 1.45;
}

/* Mobile */
@media (max-width: 768px) {
  .timeline {
    padding-left: 20px;
  }
}
.timeline-content {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}
/* ===== CORE SKILLS SECTION ===== */

.core-skills {

  padding: 4rem 0;
}

/* Title spacing — SAME AS EXPERIENCE */
.core-skills .header-info {
  margin-bottom: 48px;
}

/* Grid layout */
.skills-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Individual skill group */
.skill-group {
  background: #d1d1d1;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Headings */
.skill-group h5 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
}

/* List text */
.skill-group ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,0.72);
}

.skill-group li {
  margin: 6px 0;
  line-height: 1.45;
}

/* Accent bullets (optional) */
.skill-group li::marker {
  color: #2f6b3f;
}

/* Hover (subtle, Apple-like) */
.skill-group {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-group:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}

/* Mobile */
@media (max-width: 900px) {
  .skills-groups {
    grid-template-columns: 1fr;
  }
}
/* CONTACT SECTION */
.contact .header-info {
  margin-bottom: 32px;
}

.contact-card {
  background: #d7d7d7(0 79% 21%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 22px;
   margin: 0 auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  max-width: 820px;
}

.contact-head h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #111;
}

.contact-head p {
   margin: 0 0 18px;
  color: rgba(0,0,0,0.6);
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 800px) {
  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: rgba(0,0,0,0.75);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
  outline: none;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(47, 88, 107, 0.55); /* forest accent */
  box-shadow: 0 0 0 4px rgba(47,107,63,0.15);
  background: #fff;
}

.btn-send {
  margin-top: 14px;
  width: 100%;
  border: 0;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(31,58,42,0.22);
}

.form-note {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.55);
}


