
:root{
  --color-primary: #005066;    
  --color-secondary: #78cce2;  

  --color-accent1: #4e7988;     
  --color-accent2: #e4eff0;     

  
  --color-background: #e4eff0;  
  --color-surface: #002439;     
  --color-text: #002439;       
}





.title{
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  font-size: 2rem;
  color: var(--color-accent2);
}





body, h1, h2, ul, li, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}





body, h1, h2, ul, li, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}





body, h1, h2, ul, li, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}





body, h1, h2, ul, li, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}





body {
  background-image: url('gifs/stars 2.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--color-text);
  font-family: 'Orbitron', sans-serif;
}





.navbar{
  background-color: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0.8rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}





.nav-links {
  display: flex;           /*horizontal*/
  justify-content: center; 
  gap: 2rem;               
  list-style-type: none;
  margin: 0;
  padding: 0;
}





.nav-links a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}





.nav-links a:hover {
  color:  var(--color-accent2);
  text-shadow: 0 0 5px var(--color-accent2);
}






main section {
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 1000px;
  border-radius: 12px;
  background-color:var(--color-accent2); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}





main section h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-accent1);
  padding-bottom: 0.5rem;
}




.feature-gif-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}





.feature-gif-row .feature-gif {
  flex: 1 1 30%;
  text-align: center;
}





.feature-gif-row .feature-gif h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--color-primary);
}



.feature-gif-row .feature-gif img {
  width: 100%;
  max-width: 100%;
  max-height: 300px; /* NEW: limit tall GIFs */
  object-fit: contain; /* keep proportions */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}



.feature-block .feature-gif img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}




.about-section {
  margin-bottom: 2rem;
}





.about-section h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}






.about-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}





.about-section ul li {
  margin-bottom: 0.5rem;
}





.tech-detail-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}





.tech-detail {
  flex: 1 1 250px;
  background-color: var(--color-accent2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}





.tech-detail img {
  width: 48px;
  height: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}





.tech-detail h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--color-primary);
}





.tech-detail p {
  font-size: 0.9rem;
  color: var(--color-text);
}





.contact-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}





.contact-card {
  flex: 1 1 200px;
  background-color: var(--color-surface);
  color: var(--color-accent2);
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}





.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}





.contact-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 4px var(--color-secondary));
}





.contact-card span {
  display: block;
  font-weight: bold;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}





.contact-card p {
  margin: 0;
  font-size: 0.95rem;
}



.profile-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}



.profile-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.profile-details {
  flex: 1;
}



.profile-details p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--color-text);
}



.skills h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: var(--color-primary);
}



.skills ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}



.skills li {
  margin-bottom: 0.5rem;
}



.skills-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}



.skills-columns div {
  flex: 1 1 250px;
}



.skills-columns h5 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem; /* Tightened spacing */
}



.skills-columns ul {
  list-style: disc;
  padding-left: 1.5rem;
}



.skills-columns li {
  margin-bottom: 0.4rem;
}