/* ================== Global & Reset ================== */
:root {
  --primary-blue: #0d6efd;
  --accent-red: #ff0000;
  --dark-bg: #061730;
  --light-gray: #f4f6f8;
  --text-main: #333;
}

body {
  line-height: 1.6;
  color: var(--text-main);
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
}

/* ================== Navbar ================== */
.navbar {
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .nav-link {
  color: #111 !important;
  font-weight: 700;
  margin-left: 1rem;
  position: relative;
  transition: color 0.3s;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.navbar .nav-link:hover, 
.navbar .nav-link.active {
  color: var(--primary-blue) !important;
}

/* ================== Hero Section ================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* height and background are handled via inline HTML for flexibility */
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}
/* Image Enhancements */
.img-fluid {
    transition: transform 0.3s ease-in-out;
}

.img-fluid:hover {
    transform: scale(1.02); /* Slight zoom on hover */
}

/* Bold text color (to highlight materials and products) */
strong {
    color: #222;
    font-weight: 600;
}
/* ================== Typography & Headers ================== */
h2.text-primary {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent-red);
  margin-bottom: 2.5rem !important;
}

section p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1.2rem;
}

/* ================== Founder Section Tweaks ================== */
.rounded-circle.shadow {
  border: 5px solid #fff;
  transition: transform 0.4s ease;
}

.rounded-circle.shadow:hover {
  transform: scale(1.05) rotate(2deg);
}

.bg-light {
  background-color: var(--light-gray) !important;
}

/* ================== Footer ================== */
footer.footer {
  background-color: var(--dark-bg);
  color: #fff;
  padding: 4rem 0 2rem;
}

footer.footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

footer.footer h5::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent-red);
  left: 0;
  bottom: 0;
}

footer.footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: 0.3s;
}

footer.footer a:hover {
  color: var(--accent-red) !important;
  padding-left: 5px;
}

/* ================== Mobile Responsiveness ================== */
@media (max-width: 768px) {
  h2.text-primary { font-size: 2rem; }
  section p { text-align: left; }
  .hero { height: 50vh !important; }
}