

:root {

  --bg-color: #f4f9ff;
  --bg-gradient: linear-gradient(135deg, #f4f9ff, #dcecff);


  --text-color: #111827;
  --muted-text: #6b7280;

  --card-bg: #ffffff;
  --card-text: #111827;

  --border-color: #4f46e5;


  --shadow: rgba(0, 0, 0, 0.12);
}


html[data-theme="dark"] {
  --bg-color: #020617;          
  --bg-gradient: none;

  --text-color: white;     
  --muted-text: #cbd5f5;

  --card-bg: #0f172a;           
  --card-text: #f9fafb;

  --border-color: #6366f1;
  --shadow: rgba(0, 0, 0, 0.6);
}


body {
  background: var(--bg-gradient, var(--bg-color));
  color: var(--text-color);
  
}


.card,
.profile,
form {
  background: var(--card-bg);
  color: var(--card-text);
  box-shadow: 0 12px 28px var(--shadow);
  outline: 1px solid var(--border-color);
}


.card h1,
.card h2,
.card h3,
.card p {
  color: var(--card-text);
}


.navbar {
  background: var(--card-bg);
  outline: 1px solid var(--border-color);
}

.navbar a {
  color: var(--muted-text);
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.08);
}


form label {
  color: var(--card-text);
}

form input,
form textarea {
  background: rgba(255, 255, 255, 0.05);
  color: var(--card-text);
  border: 1px solid var(--border-color);
}


button,
.cv-button {
  background: linear-gradient(90deg, var(--border-color), #7c7cf7);
  color: #fff;
}


* {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body,
.RightWindow {
  background: var(--bg-gradient, var(--bg-color));
  color: var(--text-color);
}



body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  color: var(--text-color);   
  padding: 0px;
}


.main {
  display: flex;
  gap: 20px;
  background-color: var(--bg-color);
}

.profile {
  background-color: var(--card-bg); 

  padding: 30px;
  border-radius: 40px;
  width: 230px;
  height: 455px;
  text-align: center;
  outline: 2px solid blueviolet;
  display: flex;
  flex-direction: column;
  margin: 20px;
}

.profile h1, .profile h2 {
  margin: 10px 0;
  font-weight: 600;
}

.profile img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 10px;
    max-height: 230px;
}

.RightWindow {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  padding: 20px 40px;
    background-color: var(--border-color);      
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 20px;
  background-color: var(--card-bg); 
  padding: 14px 28px;
  border-radius: 999px;
  margin-bottom: 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  z-index: 10;
    outline: 1px solid #4f46e5;

}

.navbar a {
  text-decoration: none;
    color: var(--text-color);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: .25s;
}

.navbar a:hover 
{ 
    background:#dde3ee; 
}
.navbar a.active 
{
  background: var(--card-bg);
  color: var(--card-text); 
       box-shadow:0 4px 12px rgba(0,0,0,.08);
}



.card
 {
    background-color: var(--card-bg); 
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  outline: 1px solid #4f46e5;
  text-align: center;

}

.card:hover
 {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.grid 
{
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.skill-card { display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
     text-align: center; 
    }


.skill-card i { font-size: 46px; }
.skill-card span { font-weight: 600; }

.project-card img { width: 100%;
     height: 200px;
      object-fit: cover;
       border-radius: 12px; 
    }

form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 30px;
  border-radius: 20px;
    background: var(--card-bg); 
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
    outline: 1px solid #4f46e5;
}

form:hover { transform: translateY(-4px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

form label { display: flex; 
    flex-direction: column;
     font-weight: 600; 
       color: var(--text-color);
    }


form input, form textarea {
  padding: 14px 18px;
outline: 1px solid #4f46e5;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 1rem;
  transition: all 0.3s;
}

form input:focus, form textarea:focus { border-color: #4f46e5;
     box-shadow: 0 0 8px rgba(79,70,229,0.3); 
     background: #fff; 
     outline: none; }

form button {
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(79,70,229,0.3);
  transition: all 0.3s;
}

form button:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(79,70,229,0.4); 
}




#education
{
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.cv-button {
  background-color:blueviolet;
  padding: 10px 5px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  width: 150px;
  margin-left: 30px;
}

.cv-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(155, 93, 229, 0.4);
}


h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
}


@media (max-width: 900px) {

  body {
    padding: 16px;
  }

  .main {
    flex-direction: column;
  }

  .profile {
    width: 100%;
    height: auto;
    max-width: 360px;
    margin: 0 auto;
  }

  .profile img {
    max-height: 200px;
  }

  .RightWindow {
    height: auto;
    padding: 20px 10px;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    top: 10px;
  }

  .navbar a {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .skill-card i {
    font-size: 34px;
  }

  .section {
    margin-bottom: 40px;
  }

  form {
    max-width: 100%;
  }
}


@media (max-width: 768px) {
  
  .profile {
    width: 200px; 
    padding: 15px;
    height:350px
  }

  .profile img {
    max-height: 200px;
  }

  .profile h1, .profile h2 {
    font-size: 0.85rem;
  }

  .navbar {
    display: none; 
  }
}


