body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
}

header {
  background-color: #2c3e50;
  color: white;
  padding: 50px 20px;

}
header a {
  color: #1abc9c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}
header a:hover {
  color: #16a085;
  transform: scale(1.05);
  text-decoration: underline;
}


h1 {
  font-size: 48px;
  margin: 0;
}

h2 {
  font-size: 24px;
  margin-top: 10px;
  font-weight: 300;
}

.projects {
  padding: 40px 20px;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  padding: 40px 30px;
  width: 100vw;
  max-width: 1000px;
  min-height: 300px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}
.card1 {
  background-image: url('image1.jpg');
  background-size: cover;
  background-position: center;
  color: black;
}

.card2 {
  background-image: url('image2.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

.card3 {
  background-image: url('image3.png');
  background-size: cover;
  background-position: center;
  color: black;
}

.card4 {
  background-image: url('image4.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}
.card5 {
  background-image: url('image9.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}


.card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


.card h3 {
  width: 300px;
  height: 200px;
  padding : 20px;
  margin: 0 0 10px;
  font-size: 22px;
}


footer {
  margin-top: 50px;
  padding: 20px;
  background-color: #2c3e50;
  color: white;
}

footer a {
  color: #1abc9c;
  text-decoration: none;
}
footer a:hover {
  text-decoration: none;
}

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #fff;
  animation: typing 1.75s steps(20), blink 0.6s step-end 3 forwards; 
  display: inline-block;
}

/* Typing animation */
@keyframes typing {
  from { width: 0 }
  to { width: 13ch }  
}

@keyframes blink {
  0%, 50% { border-color: #fff }
  100% { border-color: transparent }
}


.tab-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  justify-content: center;
}
.tab-button {
  padding: 10px 20px;
  cursor: pointer;
  background-color: white;    /* white background for inactive */
  color: #666666;             /* grey text for inactive */
  border: 1px solid #999999;  /* lighter grey border */
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;      /* if these are links */
  display: inline-block;
}

.tab-button.active {
  background-color: #333;
  color: white;  
  border-color: #333;   
}
.tab-button.active:hover { 
  color: white;
  transform: translateY(-2px); 
  box-shadow: 0 4px 8px #555;
  transition: transform 0.2s ease, box-shadow 0.2s ease
}
.tab-button:hover {
  color: #555;      
  transform: translateY(-2px);
  box-shadow: 0 4px 8px #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tab-content {
  display: none;
  
}

.tab-content.active {
  display: block;
}

.about{
  padding: 20px;
  text-align: center;

}
.about p {
  margin-bottom: 20px;
  line-height: 1.6;
}
.contact{
  padding: 20px;
  text-align: center;

}
.contact p {
  margin-bottom: 20px;
  line-height: 1.6;
}
ul {
  list-style-type: none;
  padding: 0px;;
  text-align: center;
  line-height: 2.6;
}

.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  text-decoration: none;
  color: #ffffff;
  background-color: #333;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  z-index: 1000;
  transition: background-color 0.2s ease;
}

.back-button:hover {
  background-color: #555;
  transform: translateY(-2px);
}

.fade-in {
  opacity: 0;
  transform: translateY(40px); 
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.Examples {
  width:100%;
  text-align: center; 
}

.Examples img {
  max-width: min(100%, 600px);   
  height: auto;      
  display: block; 
  margin: 0 auto;
}

.menu {
  font-size: 67px;
  color: #111;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Flex container for all contact cards */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* Individual contact card */
.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  max-width: 800px;
  height: 290px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;      /* vertical centering */
  align-items: center;        /* horizontal alignment */
  flex: 1 1 300px;              /* responsive width with flex wrap */
  transition: transform 1.2s ease, box-shadow 1.2s ease;
  margin: 0 auto;
  
}

/* Text inside contact card (if you add <p> elements later) */
.contact-card p {

  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 0.75px;
  line-height: 20px;
}

/* Hover effect for card */
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Link group styling */
.contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end; /* align links to the right */
  line-height: 3.5;
  font-size: 20px;
  text-decoration: none;
}

/* Individual link styling */
.contact a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover effect for links */
.contact a:hover {
  color: #0050c8;
  text-decoration: underline;
}


  
.form-container {
  padding: 30px;
  max-width: 400px;
  width: 100%;
}
.form-container form {
  display: flex;
  flex-direction: column;
  gap: 37px;
}