/* Modern UI Redesign - EAF-TPG (Industrial Steel/Iron Theme) */

/* Import modern clean font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #0284c7;      /* Metallic/Industrial Blue */
  --primary-dark: #0369a1;       /* Deep Slate Blue */
  --bg-slate: #f8fafc;           /* Light Slate Gray Background */
  --text-dark: #1e293b;          /* Dark Slate for Headings */
  --text-muted: #64748b;         /* Muted Slate Gray for body */
  --border-color: #e2e8f0;       /* Soft border slate */
  --steel-dark: #0f172a;         /* Deep Slate Dark (Footer/Navbar) */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px; /* Height of the sticky navbar + spacing */
}

body {
  background-color: var(--bg-slate);
  color: var(--text-muted);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Page wrapper container */
.container {
  max-width: 1200px;
}

/* Navbar & Header Top-Restructured Layout */
.app-header {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.nav_container {
  background-color: #ffffff !important;
}

.nav_container .col-md-2 img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}
.nav_container .col-md-2 img:hover {
  transform: scale(1.05);
}

.icon-navbar {
  height: 24px;
  width: auto;
  opacity: 0.85;
}

.header-info {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.header-info .text-content {
  text-align: left !important;
  line-height: 1.3;
}

.header-info span {
  color: var(--text-muted);
}

.header-info b {
  color: var(--text-dark);
}

/* Navigation bar styling */
.navbar {
  padding: 0.5rem 0 !important;
}

.navbar-nav .nav-item {
  position: relative;
  margin: 0 8px;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link:hover {
  background-color: #f1f5f9 !important;
  color: var(--primary-color) !important;
}

/* Hero Section (Carousel under navbar) */
.carousel {
  border-bottom: 4px solid var(--primary-color);
}

.carousel-item {
  height: 400px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Soft industrial overlay gradient on hero images */
.carousel-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.c-item-1 { background-image: url("../images/header.jpg"); }
.c-item-2 { background-image: url("../images/header_1.jpg"); }
.c-item-3 { background-image: url("../images/team.jpg"); }
.c-item-4 { background-image: url("../images/header_2.jpg"); }

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

/* Main content boxes and containers */
.main-content-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.body-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

/* Product list (100% width items) */
.product-item {
  margin-bottom: 1.5rem;
}

.product-item .card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.product-item .card-body {
  padding: 1rem 0;
}

.product-item h3 {
  color: var(--text-dark);
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
  margin-bottom: 1.2rem;
}

/* President Section Stylings */
.president-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  margin: 1.5rem 0;
  line-height: 1.5;
}

.president-image {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

/* Contact page icons & card layouts */
.contact-card-icon {
  width: 48px;
  height: 48px;
  background-color: #f0f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.contact-card-icon i {
  font-size: 24px;
}

/* Footer Section Redesign */
.footer-dark {
  background-color: var(--steel-dark) !important;
  color: #94a3b8;
  padding: 2.5rem 0 1.5rem 0;
  margin-top: 2rem;
  border-top: 4px solid var(--primary-dark);
}

.footer-dark h3 {
  color: #ffffff;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-dark ul {
  padding-left: 0;
  list-style: none;
}

.footer-dark ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-dark ul li a {
  color: #94a3b8 !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-dark ul li a:hover {
  color: var(--primary-color) !important;
}

.footer-dark .contact-item i {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 1.15rem;
}

.footer-dark .copyright {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Buttons UI styling */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  border-radius: 6px;
  padding: 10px 24px;
  transition: all 0.2s ease;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

/* Responsiveness overrides */
@media(max-width: 992px) {
  body {
    padding: 0 !important;
  }
  
  .carousel-item {
    height: 250px;
  }
  
  .carousel-caption h1 {
    font-size: 1.4rem !important;
  }

  .carousel-caption p {
    font-size: 0.85rem !important;
  }

  .carousel-caption {
    left: 8% !important;
    right: 8% !important;
    bottom: 15px !important;
  }

  .nav_container .col-md-2 img {
    height: 50px;
    margin-bottom: 1rem;
  }

  .info-nav {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
  }
  
  .header-info {
    justify-content: center;
    margin-bottom: 0.5rem;
  }
}