/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* Header */
header {
  background: #0a2540;
  color: #fff;
  padding: 1rem;
  text-align: center;
}
header nav {
  margin-top: 1rem;
}
header nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}
header nav a.active {
  text-decoration: underline;
}

/* Logo + Company Info */
.logo-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.logo-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* fits full logo */
}
.company-info {
  text-align: left;
}
.company-info h1 {
  font-size: 1.8rem;
}
.tagline {
  font-style: italic;
  font-size: 1rem;
  color: #ddd;
}

/* Slider */
.slider {
  width: 100%;
  height: 70vh;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}
.slides {
  width: 100%;
  height: 100%;
}
.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.slides img.active {
  display: block;
}

/* Sections */
section {
  padding: 2rem;
  text-align: center;
}
.services ul {
  list-style: none;
  margin-top: 1rem;
}
.services li {
  margin: 10px 0;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
}
form input, form textarea {
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid #aaa;
  border-radius: 5px;
  font-size: 1rem;
}
form button {
  background: #0a2540;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}
form button:hover {
  background: #163d63;
}

/* Footer */
footer {
  background: #0a2540;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 20px;
}

/* =========================
   📱 RESPONSIVE DESIGN
   ========================= */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .company-info h1 {
    font-size: 1.5rem;
  }
  .tagline {
    font-size: 0.9rem;
  }
  nav a {
    margin: 0 10px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .logo-info {
    flex-direction: column;
    text-align: center;
  }
  .company-info {
    text-align: center;
  }
  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .slider {
    height: 50vh;
  }
  form {
    width: 90%;
  }
}

/* Small phones (max-width: 480px) */
@media (max-width: 480px) {
  .logo-container {
    width: 90px;
    height: 90px;
  }
  .company-info h1 {
    font-size: 1.2rem;
  }
  .tagline {
    font-size: 0.8rem;
  }
  nav a {
    font-size: 0.9rem;
  }
}
