/* ===============================
   Base Styles
   =============================== */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f5f7fa;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  color: #0a3d62;
  text-align: center;
}

h2 {
  margin: 40px 0 20px;
  font-size: 2em;
}

p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* ===============================
   Header & Logo
   =============================== */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: linear-gradient(to right, #0a3d62, #1e5799);
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 90px;
  width: auto;
}

.company-name {
  font-size: 2.5em;
  font-weight: bold;
  color: #fff;
  margin-left: 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd700;
}

nav a.cta {
  background: #ffd700;
  color: #0a3d62;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: bold;
}

nav a.cta:hover {
  background: #fff;
}
/* Right Logo (LEED) */
.logo-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.partner-logo {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

.logo-right .partner-logo {
    transform: scale(2);       /* 150% size */
    transform-origin: top right; /* keeps it aligned properly */
    display: block;             /* ensures proper scaling */
}




/* ===============================
   Hero Section
   =============================== */
.hero {
  background: url('../images/hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 61, 98, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.3em;
  margin-bottom: 15px;
}

/* Hero Section Heading Color */
.hero h1 {
  color: #ffffff; /* change text to white */
}


.hero-btn {
  display: inline-block;
  margin: 8px;
  padding: 12px 20px;
  background: #ffd700;
  color: #0a3d62;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.hero-btn.secondary {
  background: transparent;
  border: 2px solid #ffd700;
  color: #ffd700;
}

.hero-btn:hover {
  background: #fff;
  color: #0a3d62;
}

/* ===============================
   Services Section
   =============================== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.service img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* ===============================
   Projects Section
   =============================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ===============================
   About Section
   =============================== */
#about {
  background: #eaf1f8;
  padding: 50px 20px;
}


/* ===============================
   Contact Section
   =============================== */
#contact {
  padding: 60px 20px;
  background-color: #333;
  text-align: center;
  color: #f0f0f0;
  overflow: hidden;
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Heading and paragraph */
#contact h2 {
  color: white;
  font-size: 3em;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

#contact p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Form container */
.cta-form {
  max-width: 600px;
  margin: 20px auto;
  background: #444;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  color: #f0f0f0;
  transition: transform 0.3s ease, opacity 0.8s ease;
}

.cta-form:hover {
  transform: translateY(-5px);
}

/* Inputs and textarea */
.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
  background-color: #555;
  color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: #ddd;
}

/* Hover & focus effects for inputs */
.cta-form input:hover,
.cta-form textarea:hover {
  transform: scale(1.02);
  border-color: gold;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.cta-form input:focus,
.cta-form textarea:focus {
  border-color: gold;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  outline: none;
  transform: scale(1.03);
}

/* Submit button */
.cta-form button {
  width: 100%;
  background: gold;
  color: #333;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s ease;
}

.cta-form button:hover {
  background: #d4af37;
  transform: scale(1.05);
}



/* ===============================
   Footer
   =============================== */
footer {
  background: #0a3d62;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9em;
}

footer a {
  color: #ffd700;
  text-decoration: none;
  margin: 0 5px;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* ===============================
   Responsive
   =============================== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin: 5px 0;
  }

  .hero h1 {
    font-size: 2em;
  }

  .service img,
  .project-img {
    height: 180px;
  }
}
