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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #003366;
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4em;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}

header .logo-img {
  width: 60px;
  height: auto;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, border-bottom 0.3s;
}

nav a:hover {
  color: #ff6600;
}

nav a.active {
  border-bottom: 2px solid #ff6600;
}

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

.hero-text h1 {
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
}

.hero-text p {
  margin: 15px 0;
  font-size: 1.2rem;
}

.hero-text .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ff6600;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.hero-text .btn:hover {
  background: #cc5200;
}

/* About Section */
#about {
  padding: 60px 20px;
  background: #fff;
}

#about .container {
  max-width: 900px;
  margin: 0 auto;
}

#about h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #003366;
  font-family: 'Montserrat', sans-serif;
}

/* Services Section */
.services {
  padding: 60px 20px;
  background: #f1f1f1;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #003366;
  font-family: 'Montserrat', sans-serif;
}

/* Homepage services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row on desktop */
  gap: 25px;
}

/* Services page grid */
#services-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 25px;
}


/* Service Box + Hover Effect */
.service-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-box img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.service-box:hover img {
  transform: scale(1.05);
}

.service-box h3 {
  margin-bottom: 10px;
  color: #003366;
  transition: color 0.3s;
}

.service-box:hover h3 {
  color: #ff6600; /* highlight title on hover */
}

/* Workflow Section */
.workflow {
  padding: 60px 20px;
  background: #fff;
}

.workflow h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #003366;
  font-family: 'Montserrat', sans-serif;
}

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.step {
  flex: 1 1 200px;
  text-align: center;
}

.step i {
  font-size: 2.5rem;
  color: #ff6600;
  margin-bottom: 15px;
}

.step h3 {
  margin-bottom: 10px;
  color: #003366;
}

/* Quote Form Section */
.quote-form {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.quote-form .container {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.quote-form h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #003366;
  font-family: 'Montserrat', sans-serif;
}

.quote-form p {
  text-align: center;
  margin-bottom: 30px;
  color: #555;
}

.quote-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quote-form label {
  font-weight: bold;
  color: #333;
}

.quote-form input,
.quote-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.quote-form button {
  background: #ff6600;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.quote-form button:hover {
  background: #cc5200;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 25px 20px;
  margin-top: 40px;
}

footer a {
  color: #ff6600;
  text-decoration: none;
}

footer .social-icons {
  margin-top: 10px;
}

footer .social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

footer .social-icons a:hover {
  color: #ff6600;
}

/* Responsive Design */
@media (max-width: 992px) {
  .service-grid,
  #services-page {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  .service-grid,
  #services-page {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
  .workflow-steps {
    flex-direction: column;
    align-items: center;
  }
  .quote-form .container {
    width: 100%;
    padding: 0 10px;
  }
}
