/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  margin: auto;
  max-width: 1200px;
}

/* Navbar */
nav {
  background: #003366;
  padding: 1em 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
}

.nav-links a {
  color: #fff;
  margin-left: 1.5em;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00ccff;
}

/* Hero Section */
.hero {
  background: url('../images/started/tech-team.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1em;
  animation: fadeInDown 1s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5em;
  animation: fadeInUp 1s ease forwards;
}

.btn-primary {
  background: #00ccff;
  color: white;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #005f99;
  transform: scale(1.05);
}

/* About Section */
.about-snapshot {
  padding: 4em 0;
  background: #fff;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-bottom: 1em;
  color: #003366;
}

.about-text p {
  margin-bottom: 1em;
}

.about-image {
  flex: 1;
  width: 100%;
  border-radius: 10px;
}

.buttons-row .btn-secondary {
  background: #003366;
  color: #fff;
  border: none;
  margin: 0.5em;
  padding: 0.5em 1em;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.buttons-row .btn-secondary:hover {
  background: #005f99;
  transform: scale(1.05);
}

.buttons-row .btn-secondary.active {
  background: #00ccff;
}

/* Services Section */
.services-overview {
  padding: 4em 0;
  background: #f9f9f9;
  text-align: center;
}

.services-overview h2 {
  margin-bottom: 2em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
}

.service-card {
  background: #fff;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1em;
}

/* CTA Section */
.cta-contact {
  padding: 4em 0;
  background: #003366;
  color: #fff;
  text-align: center;
}

.cta-contact h2 {
  margin-bottom: 1em;
}

.cta-contact .btn-primary:hover {
  background: #00aacc;
}

/* Footer */
footer {
  background: #001d3d;
  color: #ccc;
  padding: 3em 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2em;
}

.footer-column h1,
.footer-column h2 {
  margin-bottom: 1em;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5em;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #00ccff;
}

.social-icons a img {
  width: 30px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

/* Animations */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-container {
    flex-direction: column;
  }

  .nav-links {
    margin-top: 1em;
  }
}
/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #00ccff;
  color: #fff;
  font-size: 24px;
  padding: 10px 15px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: #005f99;
  transform: scale(1.1);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Loader */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #003366; /* Microtel dark blue background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #00ccff; /* Microtel Light Blue Spinner */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Spin Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hide loader when done */
.loaded #loader-wrapper {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

/* Contact Form Styling */
.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 2em auto;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  resize: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00ccff;
  background: #fff;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 204, 255, 0.3);
}

.contact-form button.btn-primary {
  align-self: center;
  background: #00ccff;
  color: #fff;
  padding: 12px 25px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button.btn-primary:hover {
  background: #005f99;
  transform: scale(1.05);
}

/* Contact Details Cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.contact-card {
  background: #fff;
  padding: 2em;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-card h3 {
  margin-bottom: 1em;
  color: #003366;
}

.contact-card p a {
  color: #00ccff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.contact-card p a:hover {
  color: #005f99;
}

/* Footer */
footer {
  background: #003366;
  color: #fff;
  padding: 2em;
  text-align: center;
}
/* Map Section Styling */
.map-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 2em;
}

.map-card iframe {
  width: 100%;
  height: 400px;
  border: none;
}