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

:root {
  --primary-color: #E8FF2A; /* Safety Yellow */
  --secondary-color: #243A5E; /* Deep Industrial Blue */
  --accent-color: #1A2530; /* Dark navy / charcoal */
  --bg-color: #F8F9FA; /* clean white/light grey */
  --text-main: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--accent-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

ul {
  list-style: none;
}

/* Typography styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Reusable Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

.btn-primary:hover {
  background-color: #d4e824;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 255, 42, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Glassmorphism subtle effects */
.glass-effect {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-speed) ease;
  background: transparent;
  padding: 1.5rem 0;
}

header.scrolled {
  background: rgba(36, 58, 94, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(26, 37, 48, 0.9) 0%, rgba(36, 58, 94, 0.7) 100%);
  z-index: -1;
}

.hero-content {
  color: var(--white);
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  color: #e2e8f0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all var(--transition-speed) ease;
  border-bottom: 4px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(36, 58, 94, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  transition: all var(--transition-speed) ease;
}

.service-card:hover .service-icon {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
}

.why-choose-us .section-title {
  color: var(--white);
}

.why-choose-us .section-subtitle {
  color: #a0aec0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-item h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-item p {
  color: #a0aec0;
  font-size: 0.9rem;
}

/* Image Text Section (About / Project Support) */
.image-text-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.image-text-section.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
}

.image-content {
  flex: 1;
  position: relative;
}

.image-content img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: block;
}

.image-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  z-index: -1;
  border-radius: 8px;
}

.image-text-section.reverse .image-content::before {
  left: auto;
  right: -20px;
}

.stat-box {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: inline-block;
  border-left: 4px solid var(--primary-color);
}

.image-text-section.reverse .stat-box {
  right: auto;
  left: -30px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
}

/* Footer */
footer {
  background-color: #111827;
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col p {
  color: #a0aec0;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #a0aec0;
  font-size: 0.95rem;
  transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #a0aec0;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--primary-color);
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #718096;
  font-size: 0.9rem;
}

/* Page Headers (for non-home pages) */
.page-header {
  height: 40vh;
  min-height: 300px;
  background: var(--secondary-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-header-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.page-header h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* Contact Page Specific */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  background: var(--secondary-color);
  color: var(--white);
  padding: 3rem;
  border-radius: 8px;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.info-item h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-item p {
  color: #a0aec0;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .image-text-section,
  .image-text-section.reverse {
    flex-direction: column;
  }
  
  .image-content::before {
    display: none;
  }
  
  .stat-box {
    position: static;
    margin-top: 2rem;
    box-shadow: none;
    border-left: none;
    border-top: 4px solid var(--primary-color);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    color: var(--white);
  }
  
  header {
    background: rgba(36, 58, 94, 0.95);
    padding: 1rem 0;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--secondary-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left var(--transition-speed) ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    text-align: center;
  }
}

/* Animations JS classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
