*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'League Spartan', sans-serif;
}

body{
    background-color: #000000;
    color: #fff;
    scroll-behavior: smooth; 
}

ul {
  list-style-type: none;
  display: grid;
  grid-template-columns: 100px 100px 100px;
  margin-left: 1150px;
  padding: 30px;
  font-size: 20px;
  
}

a{
    text-decoration: none;
    color: white;
}

nav{
    background-color: #000000 ;
    padding: 1px 0;
    position: static;
}

img{
    width: 100%;
    position: relative;
    right: 30px;
    top: 20px;
}

.Hero-Section{
   display: grid;
   grid-template-columns: 1fr 1fr;  
   padding-bottom: 120px;
   background-color: #000000;
   padding-bottom: 200px;
}

div p{
    color: #fff;
    font-size: 16px;
    width: 70%;
    line-height: 20px;
    padding: 10px;
}

.Hero-Section h1, h3{
    color: #fff;
    font-size: 60px;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid;
    animation: typing 4s steps(20, end), blink-caret 0.75s step-start 4s;
    animation-fill-mode: forwards;
}

.Hero-Section h3{
    color: #fff;
    animation: typing 5s steps(10, end), blink-caret 0.75s step-start 2s;
    animation-fill-mode: forwards;
    font-size: 40px;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}

.Hero-Text{
    margin-top: 200px;
    margin-left: 100px;
}

.work{
    padding-bottom: 315px;
    background-color: #;
}

button{
    padding: 10px;
    margin: 10px;
    width: 120px;
    font-size: 15px;
    border-radius:20px ;
    color: white;
    border:none ;
    background-color: #1a07eb;
    cursor: pointer;
}

button:hover{
    background-color: white;
    color:#1a07eb
}

.work img{
    width: 50%;
}

.work-container{
    display: grid;
    grid-template-columns: 350px 350px 350px 350px;
    height: 500px;
}

ul a:hover {
    color: #1a07eb;
}

.home-img .img-box{
    width: 30vw;
    height: 30vw;
    position: relative;
    top: 50px;
    left: 100px;
    border-radius: 50%;
    padding: 5px;
    overflow: hidden;
    position: relative;
}

.home-img .img-box::before, .home-img .img-box::after {
    content: '';  
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px dashed #1a07eb;
    animation: rotate 5s linear infinite;
}
 .project-card {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 16px;
      padding: 24px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease;
    }

    .project-card:hover {
      transform: translateY(-5px);
    }

    .project-title {
      font-size: 1.3rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }

    .project-description {
      font-size: 1rem;
      color: #555;
      margin-bottom: 16px;
    }

    .project-section {
      margin-bottom: 16px;
    }

    .project-section h4 {
      font-weight: 600;
      margin-bottom: 8px;
      color: #333;
    }
    .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 50px;
  color: #111;
}

.section-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
  color: #444;
}

.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 0 2rem;
}

.project-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #222;
}

.project-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.project-links {
  display: flex;
  gap: 10px;
}

.btn,
.btn-outline {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.3s;
}

.btn {
  background-color: #111;
  color: #fff;
}
.project-grid h4{
    color: #111;
    font-size: 1.4rem;
    font-weight: 700;
    margin-left: 10px;
}


.btn:hover {
  background-color: #333;
}

.btn-outline {
  border: 1px solid #111;
  color: #111;
}

.btn-outline:hover {
  background-color: #111;
  color: #fff;
}


    .project-section ul {
      padding-left: 20px;
      color: #444;
    }

    .project-links a {
      display: inline-block;
      margin-right: 16px;
      color: #007bff;
      text-decoration: none;
      font-weight: 500;
    }

    .project-links a:hover {
      text-decoration: underline;
    }

.home-img .img-box::after {
    border-color: transparent;
    border-top-color: #1a07eb;
    border-bottom-color: #1a07eb;
    animation-direction: reverse;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

i{
    color: #1a07eb;
    margin: 10px;
}

i:hover{
    color: white;
}

.work-item{
    height: 300px;
    width: 300px;
    background-color: #fff;
    overflow: hidden;
    align-items: center;
    margin: 20px;
    position: relative;
    margin-right: 100px;
}

.work-item::after {
    content: "Click to view";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    z-index: 4;
    text-align: center;
}
.work-item:hover{

    animation: heroHover 0.5s ease-in-out forwards;
}
@keyframes heroHover {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}



.work-container img{
    width: 100%;
    height: 100%;
    position: relative; top: 0; right: 0;
}

.work-item img:hover{
    transform: scale(1.1);
    transition: 0.5s; opacity: 0.5;
}

.work-item a::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 7, 235, 0.2); /* Faint blue color */
    z-index: 1;
}

.work-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
    text-decoration: none;
}
.footer {
  background-color: #0d1117;
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer .social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer .social-links a {
  color: #58a6ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer .social-links a:hover {
  color: #ffffff;
}


.about{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 1000px;
    margin-top: -200px;
    padding-top: 100px;
}

.about-text{
    width: 600px;
    height: 600px;
    background-color: #fff;
    color: black;
    margin-right: 100px;
}

.picture{
    width: 50%;
    margin-left: 200px;
}

.about h1{
    margin-top: 50px;  
    text-align: center;
}

.about p{
    width: 500px;
    font-size: 20px;
    line-height: 30px;
    margin-left: 50px;
    color: #000000;
}

button{
    padding: 10px;
    margin: 10px;
    width: 120px;
    font-size: 15px;
    border-radius:20px ;
    color: white;
    border:none ;
    background-color: #1a07eb;
    cursor: pointer;
}

button:hover{
    background-color: white;
    color:#1a07eb
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .Hero-Section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .Hero-Text {
        margin: 10px;
        text-align: center;
    }

    .Hero-Text p{
        margin-left: auto;
        margin-right: auto;
    }

    .Hero-Section h1, h3{
        color: #fff;
        font-size: 60px;
        padding: 10px;
        overflow: hidden;
        /* white-space: nowrap; */
        border-right: 4px solid;
        animation: typing 4s steps(20, end), blink-caret 0.75s step-start 4s;
        animation-fill-mode: forwards;
        margin: 0 auto;
    }
    
    .Hero-Section h3{
        color: #fff;
        animation: typing 5s steps(10, end), blink-caret 0.75s step-start 2s;
        animation-fill-mode: forwards;
        font-size: 40px;
        margin: 0 auto;
    }
    
    @keyframes typing {
        from { width: 30%; }
        to { width: 80%; }
    }
    
    @keyframes blink-caret {
        from, to { border-color: transparent; }
        50% { border-color: white; }
    }
    .home-img .img-box::before, .home-img .img-box::after {
        content: '';  
        position: absolute;
        left: 10px;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 10px dashed #1a07eb;
        animation: rotate 5s linear infinite;
    }

    .home-img .img-box {
        width: 50vw;
        height: 50vw;
        top: 0;
        left: 0;
        margin: 0 auto;
    }

    .work-container {
        grid-template-columns: 1fr 1fr;
    }

    ul {
        grid-template-columns: repeat(2, auto);
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .Hero-Section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    nav{
        display: none;
    }

    .Hero-Section h1{
        font-size: 30px;
    }
    .Hero-Section h3{
        font-size: 20px;
    }
    .Hero-Text {
        margin: 0;
    }
    .about{
    display: block;
    align-content: center;
justify-content: center;
    }
    .about img{
        display: none;
    }
    .about-text{
        width: 70%;
        height: 60%;
        margin: 0 60px;

    }
    
    .about-text p {
        width: 80%;
        line-height: 25px;
    font-size: 10px;
   
    margin-left: 10px;
    color: #000000;
    }

    .home-img .img-box {
        width: 70vw;
        height: 70vw;
        top: 0;
        left: 0;
        margin: 0 auto;
    }

    .work-container {
        grid-template-columns: 1fr;
    }

    ul {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .Hero-Section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .Hero-Text {
        margin: 0;
    }
    

    .home-img .img-box {
        width: 90vw;
        height: 90vw;
        top: 0;
        left: 0;
        margin: 0 auto;
    }

    .work-container {
        grid-template-columns: 1fr;
    }

    ul {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        padding: 10px 0;
    }
}