/* Reset & Body */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f7faff;
  color: #0f1724;
  line-height: 1.6;
  padding: 0 10px;
}

/* Header */
header {
  background: linear-gradient(135deg, #07a6c6, #00b3a6);
  color: white;
  text-align: center;
  padding: 50px 20px;
  border-radius: 5px;
}

header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

header p {
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Services Section */
.services {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.services h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.pink-line {
  width: 90px;
  height: 5px;
  background: #ff007f;
  margin: 15px auto 40px;
  border-radius: 3px;
}

.services p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Services Items Container */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 25px;
}

/* Individual Service Item */
.service-item {
  flex: 0 0 180px;           /* Small fixed width */
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item img {
 max-width: 100%;
  height: 150px;              /* larger image height */
  object-fit: cover;          /* ensures image fits nicely */
  margin-bottom: 15px;
  border-radius: 10px;
  padding: 5px;
  background: #f0faff;        
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0f1724;
}

.service-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
  background: darkblue;
  color: white;
  padding: 50px 20px 25px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ffffffc0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ff007f;
}

.social-icons a {
  color: white;
  margin-right: 18px;
  font-size: 1.3rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ff007f;
}

.footer-bottom {
  text-align: center;
  margin-top: 35px;
  font-size: 0.95rem;
  color: #ffffffc0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-item {
    flex: 0 0 200px;
  }
}

@media (max-width: 768px) {
  .services-container {
    justify-content: center;
  }
  .service-item {
    flex: 0 0 45%;
  }
}

@media (max-width: 480px) {
  .service-item {
    flex: 0 0 100%;
  }
}

.back {
  background-color: #07a6c6;       /* Nivera blue */
  color: white;
  border: none;
  padding: 20px 35px;
  align-items: center;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 30px;
  margin-top: 30px;
  margin-left: 50%;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.back:hover {
  background-color: #05889f;       /* Darker on hover */
  transform: translateY(-2px);
}

.back:active {
  transform: scale(0.97);
}

a {
  text-decoration: none;           /* Remove underline from link */
}

