* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 60px;
  background: transparent; /* fully transparent */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Logo & site name */
.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-title img {
  width: 80px;
  height: auto;
}

.site-name {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
}

.site-name::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.site-name:hover {
  color: orange;
}

.site-name:hover::after {
  transform: scaleX(1);
}

/* Desktop nav links inside a box with radius and hover underline */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 8px; /* adjust spacing between items */
}

.nav-links li a {
  position: relative;         
  display: inline-block;
  padding: 8px 16px;
  margin-left: 8px;
  border: 1px solid #594E4E;       /* thinner border */
  border-radius: 8px;
  color: #000;
  text-decoration: none;
  background: #fff;
  transition: box-shadow 0.3s, background 0.3s;
}

/* Underline: hidden at first, width 0, animate to full width */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;                   
  height: 2px;
  background: #FF6B00;
  width: 0%;
  transition: width 0.3s ease;
}

/* On hover or click: slide underline in */
.nav-links li a:hover::after,
.nav-links li a:active::after {
  width: 100%;
}

/* Softer, larger shadow on hover/click */
.nav-links li a:hover,
.nav-links li a:active {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);   /* softer & larger */
  background: rgba(0,0,0,0.02);                 /* subtle background tint */
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  padding-top: 4rem;
  transition: right 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .close-menu {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-bottom: 1px solid #555;
  display: block; /* make entire area clickable */
}

.mobile-menu a[href="rfq.html"] {
  color: #FF6B00;
  font-weight: bold;
}


/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ------------------------
   HERO SECTION
------------------------- */
#hero {
  text-align: center;
  padding: 100px 20px;
}

#hero h1 {
  font-size: 60px;
  margin-bottom: 8px;
}

#hero p {
  font-size: 18px;
  color: #594E4E;
  margin-bottom: 20px;
}

#hero button {
  width: 120px;
  height: 40px;
  background: #FF6B00;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

#hero button:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* ------------------------
   AFFILIATIONS
------------------------- */
#affiliations {
  max-width: 1440px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
  background: #f8f8f8;
}

#affiliations p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}

.affiliation-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.affiliation-item img {
  width: 80px;
  height: auto;
  margin-bottom: 8px;
}

.abbr {
  font-size: 14px;
  color: #333;
}

/* ------------------------
   ABOUT SECTION
------------------------- */
#about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

#about h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 10px;
}

.subheading {
  font-size: 18px;
  color: #594E4E;
  text-align: center;
  margin-bottom: 40px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.about-card {
  /* Remove or comment out this line; we'll control width via media query */
  background: linear-gradient(135deg, #FF6B00, #f5c801);
  color: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.about-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  text-shadow: 0 2px 3px rgba(0,0,0,0.6);
}

.about-card p {
  font-size: 16px;
  line-height: 1.6;
  text-shadow: 0 2px 3px rgba(0,0,0,0.6);
}

.about-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* Make card and image same width on desktop */
@media (min-width: 992px) {
  .about-card, .about-image {
    flex: 0 0 500px;    /* fixed width */
    max-width: 500px;
  }
}

/* Keep them full width on small screens */
@media (max-width: 991px) {
  .about-card, .about-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Ensure image fills the container fully */
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------
   SERVICES SECTION
------------------------- */
/* ------------------------
   SERVICES SECTION
------------------------- */
#services {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}

#services h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

/* Responsive grid for service cards */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

/* Individual service card */
.service-card {
  position: relative;
  background: linear-gradient(135deg, #FF6B00, #FF914D, #f5c801);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding: 30px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Top icon inside the card */
.service-icon {
  width: 40px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  z-index: 2; /* above bg */
}

/* Text content */
.service-text {
  position: relative; /* so z-index works */
  z-index: 2;
}

.service-text h3 {
  font-size: 20px;
  margin-bottom: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-text p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  text-shadow: 0 2px 3px rgba(0,0,0,0.6);
}

/* Decorative background image inside card */
.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;           /* subtle effect */
  pointer-events: none;
  z-index: 0;              /* behind text & icon */
}

/* ------------------------
   CONTACT SECTION
------------------------- */
#contact {
  text-align: center;
  padding: 80px 20px;
  background: #f9f9f9;
}

#contact h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

#contact .subheading {
  font-size: 18px;
  color: #594E4E;
  margin-bottom: 10px;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;          /* makes it bigger horizontally & vertically */
  background-color: #FF6B00;   /* your orange */
  color: #fff;                 /* white text */
  font-size: 16px;             /* readable size */
  font-weight: bold;
  text-decoration: none;       /* remove underline */
  border-radius: 8px;          /* rounded corners */
  transition: background 0.3s; /* smooth hover effect */
}

.cta-button:hover {
  background-color: #e55d00;   /* darker on hover */
}

.contact-details {
  margin-top: 30px;
  font-size: 16px;
}

.contact-details a {
  color: #000;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.social-media img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 8px;
  transition: transform 0.3s, background 0.3s;
}

.social-media img:hover {
  transform: scale(1.1);
  background: rgba(0,0,0,0.1);
}

#contact .copyright {
  margin-top: 40px;
  font-size: 14px;
  color: #594E4E;
}
.rfq-page {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px;
  background: #fff;
  border: 2px solid #594E4E;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.rfq-page h1 {
  text-align: center;
  margin-bottom: 24px;
}

.rfq-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}

.rfq-form input,
.rfq-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 4px;
}

.rfq-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #FF6B00;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.rfq-form button:hover {
  background: #e55d00;
}

.mobile-menu a {
  text-decoration: none; /* remove underline by default */
  transition: text-decoration 0.3s, color 0.3s; /* smooth effect */
}

.mobile-menu a:hover {
  text-decoration: underline; /* show underline on hover */
  color: #FF6B00;
}
#success-message {
  margin-top: 20px;
  padding: 12px;
  background-color: #d4edda;           /* light green */
  color: #155724;                      /* dark green text */
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
}
.rfq-page {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px;
  background: #fff;
  border: 2px solid #594E4E;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.rfq-page h1 {
  text-align: center;
  margin-bottom: 24px;
}

.rfq-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}

.rfq-form input,
.rfq-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 4px;
  box-sizing: border-box;
}

.rfq-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #FF6B00;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.rfq-form button:hover {
  background: #e55d00;
}

#success-message {
  margin-top: 20px;
  padding: 12px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
}
button:focus, a:focus {
  outline: 2px solid #FF6B00;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .rfq-page {
    margin: 40px 20px;
    padding: 20px;
  }
}
#success-message {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #4CAF50; /* green */
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;
}
.rfq-form .g-recaptcha {
  display: block;
  margin: 16px 0;
}
