/* Import Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;800;900&display=swap');

:root {
  /* Brand Colors Strict */
  --primary-blue: #082954;     /* Deep Trust Blue from Logo */
  --accent-orange: #FF6600;    /* Construction Orange from Logo */
  --secondary-blue: #1A4D8D;   /* Lighter blue accent */
  
  /* Neutrals */
  --light-bg: #F0F4F8;
  --white: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --dark-bg: #04142B;
  
  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: var(--primary-blue);
  line-height: 1.1;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container Utility */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #E65A00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

/* Premium Volumetric Glow Button */
.btn-glow {
  background: linear-gradient(135deg, var(--accent-orange), #ff8c00);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 20px -5px var(--accent-orange), inset 0 2px 4px rgba(255,255,255,0.4);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: 0.5s ease-in-out;
  z-index: -1;
}

.btn-glow:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px -5px var(--accent-orange), 0 0 25px var(--accent-orange);
  color: #fff;
}

.btn-glow:hover::after {
  left: 150%;
}

/* Section Utility */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-orange);
  border-radius: 2px;
}

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

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

/* Backgrounds */
.bg-light { background-color: var(--white); }

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85); /* Glassmorphism header */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.header-top {
  background-color: var(--dark-bg);
  color: #CBD5E1;
  font-size: 0.875rem;
  padding: 8px 0;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 24px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--accent-orange); }

.contact-link svg {
  width: 16px;
  height: 16px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switcher svg {
  width: 16px;
  height: 16px;
}

.lang-switcher select {
  background: transparent;
  color: #fff;
  border: 1px solid #475569;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.875rem;
  cursor: pointer;
  outline: none;
}

.lang-switcher select option {
  color: var(--text-main);
  background: var(--white);
}

.header-main {
  padding: 16px 0;
}

.main-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links a:not(.btn):hover { color: var(--primary-blue); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-blue);
  transition: var(--transition);
  border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
  padding-top: 0;
}

/* We can use CSS multiple backgrounds to apply the blue tint over the logo pattern */
.hero-content-wrapper {
  flex: 1.2;
  /* Dark blue over the repeating pattern or large centered logo */
  background: 
    linear-gradient(rgba(8, 41, 84, 0.92), rgba(8, 41, 84, 0.95)), /* var(--primary-blue) essentially */
    url('pdf_image_page1_1.png');
  background-size: cover, 120%;
  background-position: center, center;
  background-blend-mode: normal, multiply; /* Blend the white bg out slightly if needed, or rely on gradient overlay */
  
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 5% 60px;
  position: relative;
  overflow: hidden; 
  z-index: 2;
}

/* We removed the explicit html hero-watermark element as it's cleaner in the background property */

.hero-image-pane {
  flex: 1;
  background-image: url('hero-bg.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 2;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  box-shadow: -20px 0 50px rgba(0,0,0,0.5);
}

.glass-card {
  position: relative;
  z-index: 10; /* Bring above watermark */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  padding: 60px;
  max-width: 700px;
}

.brand-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 102, 0, 0.15);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 90%;
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 24px;
}

.about-text p:not(.about-lead) {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.about-stats {
  display: grid;
  gap: 24px;
}

.stat-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-orange);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,106,0,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- SERVICES SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--light-bg);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-blue);
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover h3,
.service-card:hover p {
  color: var(--white);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-orange);
  color: var(--white);
  transform: scale(1.1);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
  transition: var(--transition);
}

.service-card p {
  color: var(--text-muted);
  transition: var(--transition);
}

/* --- PROJECTS SECTION --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.project-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.project-category {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-orange);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-content {
  padding: 24px;
}

.project-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--text-main);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--dark-bg);
  color: #94A3B8;
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 24px;
  /* Since original logo might be dark, we can filter it or keep as is. Simple invert for dark bg: */
  filter: brightness(0) invert(1); 
}

.footer-edrpou {
  font-weight: 500;
  color: var(--white);
}

.footer-title {
  color: var(--white);
  margin-bottom: 24px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.875rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .hero-title { font-size: 3rem; }
  .glass-card { padding: 40px; }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse; /* Stack with image on top or text on top */
  }
  
  .hero-content-wrapper {
    padding: 60px 5%;
  }
  
  .hero-image-pane {
    min-height: 40vh;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  }

  .about-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 12px;
  }
  
  .contact-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav-links {
    position: fixed;
    top: 130px; /* Accounts for header-top + header-main */
    left: -100%;
    width: 100%;
    height: calc(100vh - 130px);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

