/* Reset some default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f4f7f8;
  color: #333;
  line-height: 1.6;
}

header {
  background: #005f73;
  color: white;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 1.6rem;
  margin-bottom: 5px;
}
header h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: white;
}
header p {
  font-size: 1.1rem;
  font-weight: 300;
}

nav {
  background: #0a9396;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1);
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  
}

nav a:hover {
  color: #94d2bd;
}

main {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

section {
  margin-bottom: 50px;
}

h2 {
  color: #005f73;
  margin-bottom: 15px;
  border-bottom: 3px solid #0a9396;
  display: inline-block;
  padding-bottom: 5px;
}

h3 {
  color: red;
  margin-bottom: 15px;
  border-bottom: 3px solid #0a9396;
  display: inline-block;
  padding-bottom: 5px;
}


/* About section */
#about p {
  max-width: 700px;
  font-size: 1.1rem;
}

/* Services section */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  max-width: 300px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.service-card h3 {
  margin-bottom: 12px;
  color: #0a9396;
}

/* Contact form */
.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.contact-buttons button,
.contact-buttons a {
  background: #0a9396;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease;
}

.contact-buttons button:hover,
.contact-buttons a:hover {
  background: #005f73;
}

.popup {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  background: white;
  border: 2px solid #0a9396;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: center;
}

.contact-buttons i {
  margin-right: 8px;
}


/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  background: #005f73;
  color: white;
  font-size: 0.9rem;
  margin-top: 50px;
}

@media(max-width: 700px) {
  nav {
    flex-wrap: wrap;  /* allow links to wrap if needed */
    justify-content: center;
  }

  nav a {
    margin: 10px;
  }

  .services-list {
    flex-direction: column;
    align-items: center;
  }
}
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-button {
  padding: 10px 20px;
  background: #0a9396;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.tab-button:hover,
.tab-button.active {
  background: #005f73;
}

.services-category {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
}

.services-category ul {
  list-style-type: disc;
  padding-left: 20px;
}

.services-category li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hidden {
  display: none;
}

@media(max-width: 700px) {
  .tabs {
    flex-wrap: wrap; /* already defined, allows wrapping if needed */
    justify-content: center;
  }

  .tab-button {
    width: auto; /* prevent full width */
    min-width: 100px;
    flex: 1 1 auto;
  }
}

#welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #005f73;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 3s forwards;
}

.welcome-content {
  text-align: center;
  color: white;
  animation: zoomIn 1s ease;
}

.welcome-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.welcome-content p {
  font-size: 1.2rem;
  font-weight: 300;
}

/* Animations */
@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
}
#welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #005f73;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

#animated-welcome {
  color: white;
  font-size: 3rem;
  transition: transform 1s ease, top 1s ease, left 1s ease, font-size 1s ease;
  position: absolute;
}
