:root{
    --title--:50px;
    --primaryColor--:#FF7F50;
}
body{
    background:url(images/image\ 5.jpg);
     width: 100%;;
    background-position: center;
    background-size: cover;
    height: 100vh;
    position: relative;
    font-family: sans-serif;
}

html{
    scroll-behavior: smooth;
}

section{
    min-height: 100vh;
    padding: 80px 0;
}

*{
    margin: 0;
    padding: 0;
}

.navbar{
    width: 86%;
    display: flex;
    margin: auto;
    padding: 10px 0;
    margin-top: -4%;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo{
    width: 160px;
    cursor:pointer;
    margin-top: -3%;
    margin-left: -1%;  
    transition: transform 0.3s ease;  
}
.navbar .logo:hover{
    transform: scale(1.3);
}

ul{
    margin-top: -5%;
}

ul li{
    list-style: none;
    display: inline-block;
    padding: 10px 16px;
}

ul li a{
    font-size: 16px;
    display: inline-block;
    background-color: transparent;
    font-weight: bold;
    text-decoration:none;
    color: rgb(15, 78, 78);
    margin-top: -3%;
    font-family: sans-serif;
    border: none;
    border-radius: 7px;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
}

ul li a:hover{
    color:rgb(80, 113, 14);
    background-color: chartreuse;
    cursor: pointer;  
    transform: scale(1.1);
    text-shadow: 0 0 8px #ffffff;
}

.cont{
    background-color:#c9a517;
    display: inline-block;
    color:#172608;
    font-size: 90%;
    font-family: sans-serif;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
}

.cont:hover{
    background-color: chartreuse;
    cursor: pointer;
    color:rgb(80, 113, 14);
    text-shadow: 0 0 8px #ffffff;
    transform: scale(1.1);
}
 

.info{
    margin-left: 7%;
    margin-top: 16%; 
}

.info h1{
    font-size: 70px;
    color: rgb(50.40,30);
    line-height:normal;
}

.info span:hover{
    color:darkgreen;
    cursor: pointer;
    text-shadow: 0 0 10px #FFA500;
}

.info h2{
    font-size: 35.9px;
    color: rgb(59.49,40);
    line-height:normal;
}

.info h3{
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 25px;
    color: rgb(59.49,40);
}

.info span{
    color:#222;
    transition: 0.3s ease, text-shadow 0.3s ease;
}

.image{
    width: 30.5%;
    height: 60%;
    position:absolute;
    right: 100px;
    bottom: 0;
}

.image img{
    position:absolute;
    height: 120%;
    left: 60%;
    bottom: 0px;
    top: -10%;
    transform: translate(-55%);
    transition: left 3s ease;  
}


.image:hover .Yousha{
    left: 55%;

}

button{
    background-color:#c9a517;
    color:#172608;
    border-radius: 7px;
    padding: 11px;
    margin-top: 7px;
    border: none;
    font-size: 90%;
    font-family: sans-serif;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
}
button:hover{
    background-color: chartreuse;
    cursor: pointer;
    transform: scale(1.1);
    text-shadow: 0 0 8px #ffffff;
    color:rgb(80, 113, 14);
    
}

#about {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(./images/theme1.jpg);
  padding: 50px 1.5%;
}

.about-container {
  display: flex;    
  align-items: center;
  gap: 60px;
  max-width: 1000px;
}

.about-image img {
  width: 450px;
  height: 450px;
  border-radius: 26%;
  background-color: yellowgreen;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(1, 2, 1, 0.6);
}

.about-image img:hover{
    transform: rotateY(360deg) scale(1.05);
  opacity: 0.9;
}

.about-text h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #222;
}

.about-text h1:hover{
    color:orangered;
}

.about-text p {
  font-size: 17.5px;
  color:#222;
  line-height: 1.6;
  letter-spacing: 0.7px;
}

.about-text p:hover{
    transform: rotateY(360deg) scale(1.08);
  opacity: 0.9;
  color:orangered;
  text-shadow: 0 6px 20px rgba(0.3, 0.5, 0.8, 0.6);
}

  .about-container {
    display: flex;
    flex-direction: row;
    text-align:left;
  }

  .about-image img {
    width: 450px;
    height: 450px;
  }

#portfolio {
  padding: 75px 5%;
  text-align: center;
}

#portfolio h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #222;
  font-weight: 700;

}

#portfolio p {
  max-width: 700px;
  margin: 0 auto 60px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

#cardDiv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

#card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

#card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

#card #img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.5s ease;
}

#card:hover #img img {
  transform: scale(1.05);
}

#cardText {
  padding: 25px;
  text-align: left;
}

#cardText h6 {
  color: #4caf50;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

#cardText h3 {
  color: #222;
  font-size: 1.3rem;
  margin-bottom: 12px;
  transition: 0.3s;
}

#cardText p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

#cardText button {
  background: #4caf50;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#cardText button:hover {
  background: #43a047;
  transform: scale(1.05);
}

.contact {
  background: #111;
  padding: 60px 10%;
}

.contact .heading {
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 40px;
}

.contact .heading span {
  color: #00ff99;
}

.contact-form {
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.contact-form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 48%;
  padding: 12px;
  background: #222;
  border: 1px solid #444;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00ff99;
}

.contact-form textarea {
  width: 100%;
  resize: none;
  min-height: 150px;
}

.btn {
  background: #00ff99;
  color: #111;
  border: none;
  padding: 12px 35px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #00cc77;
}

.footer {
  background:#172608;   
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  flex-wrap: wrap;
  border-top: 1px solid #222;
}

.footer-text p {
  font-size: 0.9rem;
  color: #ccc;
}





