:root {
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --bg-dark-card: #e9ecef;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --accent-dark: #36454F;
  --accent-hover: #494F55;
  --border-light: #dee2e6;
  --shadow: rgba(0,0,0,0.1);
}

html.dark {

  --bg-primary: #000000;
  --bg-secondary: #131314;
  --bg-card: #131314;
  --bg-dark-card: #494F55;
  --text-primary: #ffffff;
  --text-secondary: whitesmoke;
  --accent-dark: #676767;
  --accent-hover: darkslategray;
  --border-light: #353839;
  --shadow: rgba(0,0,0,0.5);
}

nav ul {
    background-color: transparent;
    color: var(--text-primary);
}

.navbar, .navbar .container {
    background-color: #212529 !important;
    border-bottom: 1px solid #495057 !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8) !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

.navbar-brand {
    color: #ffffff !important;
}

.navbar-brand:hover {
    color: rgba(255,255,255,0.8) !important;
}

.container1 {
  padding: 60px 15px;
}
span1{
    color: var(--text-primary);
    font-weight: bolder;
    font-size: 30px;
}
#home   {
    background-color: var(--bg-primary);
    color: var(--text-primary);

    
}
#home .container1{
 font-weight: bolder;
 margin-top: 50px;
 margin-left: 30px;
}
#home h1{
    font-weight: bolder;
}
#home h1:hover{
    transition: 2s;
    color: var(--accent-dark);
    transform: translateX(3px); 
}
#home p:hover{
    transition: 2s;
    color: var(--accent-dark);
    transform: translateX(3px);
}
#home .btn1:hover{
    background-color: var(--accent-hover);
    transition: 2s;
    color: var(--accent-dark);
    transform: translateY(3px);
}
#home span1:hover {
    color: var(--accent-dark);
    transform: translateX(3px);
    transition: 2s;
}
#home p{
    font-size: 20px;
    font-weight: bold;
}
#home .btn1{
    color: var(--text-primary);
    background-color: var(--accent-dark);
    padding: 10px 20px;
    border-radius: 5px;
    list-style: none;
}
.prices{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  flex-wrap: wrap;
}
.price{
  flex:1;
  background-color:var(--bg-dark-card);
  margin: 15px 7px;
  padding: 20px;
  border-radius: 6px;
  color: var(--text-primary);
}
.price h2{
  margin-top: 0;
padding-bottom: 10px;
border-bottom: 2px solid var(--border-light);
text-transform: uppercase;
letter-spacing: 0.07em;
font-family:Arial, Helvetica, sans-serif;
}
.price p{
  margin-top: 0;
}
#services{
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 50px 0;
}
#services h1{
    text-align: center;
    font-weight: bolder;
    margin-bottom: 10px;
}
#services p{
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
}
.price ul li{
    color: var(--text-primary);
    display: block;
}
.price ul{
    list-style: none;
    list-style-type: none;
}

.prices{
    text-align: center  ;
    list-style: none;
    list-style-type: none;
}
.prices .price:hover{
    background-color: var(--accent-hover);
    transition: 2s;
    color: var(--text-secondary);
    transform: translateY(3px);
    border-bottom: 3px solid var(--bg-primary);
}
#about{
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 50px 0;
    text-align: center;
    background-image: none;
}
#about.dark{
    background-image: url('./da312d6a329a6f26889e6841f2c6dffc.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#about h1{
    font-weight: bolder;
    margin-bottom: 10px;
}
#about p{
    font-size: 20px;
    margin-bottom: 40px;
}
#about ul li{
    color: var(--text-primary);
    list-style: none;
    display: block;
}
#about h1:hover{
    color: var(--accent-dark);
    transition: 2s;
    transform: translateY(3px);
}
#skills{
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 50px 0;

}
#skills h1{
    text-align: center;
    font-weight: bolder;
    margin-bottom: 10px;
}
#skills .cards{
    display: flex;
    justify-content: center;
    margin-top: 30px;
    flex-direction: row;
}
#skills .card{
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 20px;
    margin: 0 15px;
    border-radius: 6px;
    width: 200px;
}
#work{
    background-color: var(--bg-primary);
    color: var(--text-primary);
    background-image: none;
}
#work.dark {
    background-image: url('./download (7).jpg');
    background-size: cover;
    background-position: center;
}
#work img{
    width: 100%;
    height: auto;
    border-radius: 6px;
}
#work .projects{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}
#work h1{
    text-align: center;
    font-weight: bolder;
    margin-bottom: 10px;
}
#work p{
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
}
#work .projects .project{
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 20px;
    margin: 15px;
    border-radius: 6px;
    width: 300px;
    text-align: center; 
}
#work .projects .project:hover{
    background-color: var(--bg-secondary);
    transition: 2s;
    color: var(--text-primary);
    transform: translateY(10px);
    border-bottom: 3px solid var(--text-primary);
}
.btnf{
    background-color: var(--accent-dark);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 5px;
}
#contact{
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 50px 0;
    text-align: center;
    background-image: none;
}
#contact.dark {
    background-image: url('./download (6).jpg');
    background-size: cover;
    background-position: center;
}
#contact h1 {
    font-weight: bolder;
    margin-bottom: 20px;
}


.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-secondary);
}


.contact-form input, 
.contact-form textarea, 
.contact-form select {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-card); 
    border: 1px solid var(--border-light); 
    border-radius: 6px; 
    color: var(--text-primary);
    font-size: 16px;
    transition: 0.5s ease;
}


.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-dark); 
    background-color: var(--bg-secondary);
}


.btn-submit {
    background-color: var(--accent-dark);
    color: var(--text-secondary);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 2s; 
    display: block;
    margin: 0 auto;
}

.btn-submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(3px); 
    color: var(--text-secondary);
}
a:hover{
    color: var(--accent-hover);
    
}
a{
    color: var(--text-primary);
}
#fotter div{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

#footer {
    background-color: var(--bg-card) !important;
}

#footer h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

#footer ul li {
    margin-bottom: 0.5rem;
}

#footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

#footer a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
  #home .container1 {
    margin-left: 0;
    padding: 20px;
  }
  
  #home h1 {
    font-size: 2.5rem;
  }
  
  #home p {
    font-size: 1.1rem;
  }
  
  nav ul {
    margin-left: 0 !important;
    text-align: center;
    padding: 10px 0;
  }
  
  .prices {
    flex-direction: column;
    align-items: center;
  }
  
  .price {
    width: 90% !important;
    margin: 10px 0;
  }
  
  #skills .cards {
    flex-direction: column;
    align-items: center;
  }
  
  #skills .card {
    width: 90% !important;
    margin: 10px 0;
  }
  
  #work .projects {
    flex-direction: column;
    align-items: center;
  }
  
  #work .project {
    width: 90% !important;
    margin: 10px 0;
  }
  
  .contact-form {
    padding: 0 10px;
    max-width: 100%;
  }
  
  section[id] h1 {
    font-size: 2rem;
  }
  
  section[id] p {
    font-size: 1.1rem;
  }
  
  #about:not(.dark), #work:not(.dark), #contact:not(.dark) {
    background-size: cover !important;
    background-position: center;
    min-height: 50vh;
    background-attachment: scroll;
  }
  
  #footer .row > div {
    text-align: center;
  }
}

@meida (min-width: 769px) and (max-width: 991px) {
  .prices {
    justify-content: center;
  }
  
  .price {
    flex: 1 1 45%;
  }
  
  #skills .cards {
    justify-content: center;
  }
  
  #skills .card {
    width: 250px;
  }
  
  nav ul {
    margin-left: 0;
  }
}

@meida (min-width: 1200px) {
  .prices {
    justify-content: space-between;
  }
  
  nav ul {
    margin-left: 100px;
  }
}
