/* Paramount Engineering Associates - Custom Styles */
:root {
  --primary-dark: #2d325a;
  --primary-darker: #23284a;
  --accent-yellow: #ffc107;
  --accent-yellow-hover: #e0a800;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-main);
  color: #333;
  overflow-x: hidden;
}

/* Navbar */
.navbar-pea {
  background-color: #ffffff !important;
  padding: 0;
  transition: background-color 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar-pea .navbar-brand {
  color: #000000 !important;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-pea .navbar-brand img {
  height: 75px;
  filter: brightness(0);
}

.navbar-pea .navbar-brand span {
  font-size: 0.95rem;
  line-height: 1.25;
}

@media (max-width: 991.98px) {
  .navbar-pea .navbar-brand span {
    font-size: 0.9rem;
  }
}

.navbar-pea .nav-link {
  color: #000000 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.navbar-pea .nav-link:hover,
.navbar-pea .nav-link.active {
  color: var(--primary-dark) !important;
}

.navbar-pea .btn-contact {
  background-color: var(--accent-yellow);
  color: #212529 !important;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
}

.navbar-pea .btn-contact:hover {
  background-color: var(--accent-yellow-hover);
  color: #212529 !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  background-size: cover;
  /* background-position: center; */
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 50, 90, 0.85) 0%, rgba(45, 50, 90, 0.7) 100%);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-section .hero-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
}

.hero-section.hero-center h1 {
  text-align: center;
  width: 100%;
}

/* Contact Us Section (Home) */
.contact-section {
  padding: 4rem 0;
  background: var(--text-light);
}

.contact-section h2 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-section .subheading {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-section .project-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.about-section h2 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-section .about-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-section .mission-heading {
  color: var(--primary-dark);
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

/* Projects Gallery */
.projects-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.projects-section h2 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.project-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  background: var(--text-light);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

/* Contact Page */
.contact-form-section {
  padding: 4rem 0;
  background: var(--text-light);
}

.contact-form-section h2 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-form-section .form-control {
  border-radius: 6px;
  padding: 0.75rem 1rem;
  border: 1px solid #dee2e6;
}

.contact-form-section .form-control:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 0.2rem rgba(45, 50, 90, 0.2);
}

.contact-form-section .btn-submit {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  transition: background-color 0.2s;
}

.contact-form-section .btn-submit:hover {
  background-color: var(--primary-darker);
  color: var(--text-light);
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  color: #495057;
}

.contact-info .info-item i {
  color: var(--primary-dark);
  margin-top: 3px;
  min-width: 20px;
}

.contact-info .info-item a {
  color: var(--primary-dark);
  text-decoration: none;
}

.contact-info .info-item a:hover {
  text-decoration: underline;
}

/* Footer */
.footer-pea {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 3rem 0 0;
  position: relative;
}

.footer-pea::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-pea .footer-logo {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}

.footer-pea .footer-logo img {
  height: 35px;
}

.footer-pea .footer-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-pea h5 {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-pea .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-pea .footer-links li {
  margin-bottom: 0.5rem;
}

.footer-pea .footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-pea .footer-links a:hover {
  color: var(--text-light);
}

.footer-pea .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-pea .contact-item i {
  margin-top: 3px;
  min-width: 18px;
  color: var(--accent-yellow);
}

.footer-pea .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--text-light);
  margin-right: 8px;
  transition: all 0.2s;
}

.footer-pea .social-icons a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light);
  color: var(--text-light);
}

.footer-pea .footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-pea .footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Dropdown */
.navbar-pea .dropdown-menu {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-pea .dropdown-item {
  color: #000000;
}

.navbar-pea .dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary-dark);
}

/* Services Pages */
.service-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.service-section .service-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-section h2 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-section .service-subheading {
  color: var(--primary-dark);
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  font-size: 1.1rem;
}

.service-section .service-list {
  list-style: none;
  padding-left: 0;
}

.service-section .service-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: #495057;
}

.service-section .service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-dark);
  font-weight: bold;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .hero-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 350px;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
  }
  
  .contact-section .project-img,
  .project-card img {
    height: 220px;
  }
}
