:root {
  --blue: #0a2e73;
  --gold: #d4a017;
  --light: #f8f8f8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
}

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

header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 90px;
}

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

nav a {
  text-decoration: none;
  color: var(--blue);
  font-weight: bold;
}

.btn {
  background: var(--gold);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

.hero {
  height: 85vh;
  background:
    linear-gradient(rgba(8, 40, 100, 0.6), rgba(8, 40, 100, 0.6)),
    url("polishingmachine.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 55px;
  margin-bottom: 20px;
}

.tagline {
  font-size: 22px;
  margin-bottom: 15px;
  color: #ffd700;
}

section {
  padding: 80px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card i {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 15px;
}

.highlights {
  background: var(--light);
}

.projects-preview {
  background: #f2f2f2;
}

.cta {
  background: var(--blue);
  text-align: center;
  color: white;
}

footer {
  background: rgb(20, 4, 105);
  color: goldenrod;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo h2 {
  margin: 0;
  font-size: 28px;
}

.footer-logo span {
  color: var(--gold);
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 45px;
  height: 45px;
  background: #222;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 25px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #bbb;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.center-btn {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    padding-top: 15px;
  }

  .hero h1 {
    font-size: 35px;
  }
}

section.container > h1 {
  text-align: center;
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 20px;
  position: relative;
}

section.container > h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
}
.card h3 {
  color: var(--blue);
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: #666;
  font-size: 15px;
}

.card {
  border-top: 4px solid var(--blue);
}

.card:hover {
  border-top-color: var(--gold);
}

section.container > h1 {
  text-align: center;
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 40px;
  position: relative;
}

section.container > h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
  align-items: start;
}

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

.contact-grid input,
.contact-grid textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-grid input:focus,
.contact-grid textarea:focus {
  border-color: var(--blue);
}

.contact-grid form button.btn {
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  align-self: flex-start;
  transition:
    background 0.3s,
    transform 0.2s;
}

.contact-grid form button.btn:hover {
  background: #b58610;
  transform: translateY(-2px);
}

.contact-info {
  background: var(--light);
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info h3 i {
  color: var(--gold);
  font-size: 20px;
  width: 25px;
  text-align: center;
}

.contact-info p {
  color: #555;
  font-size: 16px;
  margin-bottom: 25px;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

section.container iframe {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-grid form button.btn {
    width: 100%;
    text-align: center;
  }
}

.page-banner {
  height: 85vh;
  min-height: 200px;
  background:
    linear-gradient(rgba(8, 40, 100, 0.6), rgba(8, 40, 100, 0.6)),
    url("https://media.istockphoto.com/id/469201398/photo/cutting-granite.jpg?s=612x612&w=0&k=20&c=3Rnt2jSYKLdvf_feE6qicZizeqeti2D8prtJbSsLRVY=");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.page-banner h1 {
  font-size: 42px;
  letter-spacing: 1px;
  position: relative;
}

.page-banner h1::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  color: var(--blue);
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.about-content h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 24px;
  background: var(--gold);
  margin-right: 12px;
  border-radius: 2px;
}

.about-content h2:first-of-type {
  margin-top: 10px;
}

.about-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

@media (max-width: 768px) {
  .page-banner {
    height: 25vh;
  }
  .page-banner h1 {
    font-size: 32px;
  }
  .about-content h2 {
    font-size: 22px;
  }
}
