/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f7fa;
  color: #333333;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(90deg, #0a2a43, #123b5c);
  color: #fff;
  padding: 20px 40px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 5px;
}
.head-text {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin: 10px;
}
header h1 { font-weight: bold; }
.cit {
  font-size: 48px;
  font-variant: small-caps;
  color: #00aaff;
}
.solutions {
  font-size: 30px;
  margin-left: 10px;
  color: #fff;
  letter-spacing: 2px;
}

/* Navigation */
nav {
  background: #eee;
  padding: 20px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav a {
  color: #0a2a43;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}
nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #00aaff;
  transition: width 0.3s ease;
}
nav a:hover {
  color: #00aaff;
}
nav a:hover::after {
  width: 100%;
}

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
  height: 470px;
}
.slider img {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  left: 100%;
  animation: slideShow 18s infinite;
  object-fit: cover;
}
.slider img:nth-child(1) { animation-delay: 0s; }
.slider img:nth-child(2) { animation-delay: 6s; }
.slider img:nth-child(3) { animation-delay: 12s; }
@keyframes slideShow {
  0% { left: 100%; opacity: 0; }
  5% { left: 0; opacity: 1; }
  30% { left: 0; opacity: 1; }
  35% { left: -100%; opacity: 0; }
  100% { left: -100%; opacity: 0; }
}

/* Services */
#services-container {
  display: flex;
  justify-content: space-around;
  margin: 40px 20px;
  background-color: grey;
  flex-wrap: wrap;
}
.service {
  flex: 1 1 30%;
  margin: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  min-width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.service summary {
  background: #0a2a43;
  color: #fff;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
}
.service summary:hover {
  background: #00aaff;
}
.service p {
  padding: 15px;
  color: #333;
}
.book-btn {
  background: #0a2a43;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
}
.book-btn:hover { background: #00aaff; }

/* About */
#about {
  background-color: black;
  color: white;
  padding: 20px;
}
#about .abt-text {
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 15px;
}
#about .about-text {
  font-size: 1.1em;
  line-height: 1.6;
}
.sev-tex {
  text-align: center;
  font-weight: bold;
  color: white;
  font-size: 1.8em;
}

/* Contact */
#contact {
  margin: 40px auto;
  padding: 30px;
  max-width: 800px;
  border-radius: 12px;
  background: linear-gradient(135deg, #123b5c 0%, #1f6f8b 50%, #0a2a43 100%);
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  text-align: center;
}
#contact h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #00aaff;
  text-transform: uppercase;
  letter-spacing: 2px;
}
#contact p {
  margin: 10px 0;
  font-size: 16px;
}
#contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
#contact a:hover { color: #00aaff; }

/* Footer */
footer {
  background: #0a2a43;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  header { text-align: center; padding: 15px; }
  .head-text { font-size: 1.5em; }
  nav { flex-direction: column; align-items: center; }
  nav a { margin: 8px 0; }
  #services-container { flex-direction: column; align-items: center; }
  .service { width: 90%; margin: 15px 0; }
  #about .abt-text { font-size: 1.2em; }
  .slider { height: auto; }
}
@media (max-width: 480px) {
  .cit { font-size: 32px; }
  .solutions { font-size: 20px; letter-spacing: 1px; }
  #contact h2 { font-size: 22px; }
}
