/* ===== Variables ===== */
:root {
  --accent: #00457e;
  --accent-bright: #0099dc;
  --light-accent: #6aaad8;
  --white: #fff;
  --alt-bg: #f2f8fd;
  --text: #333;
  --max-width: 1500px;
  --gutter: 4vw;
  --mobile-gutter: 6vw;
  --header-height: 84px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter Tight', sans-serif; color: #000; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Header ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); box-shadow: 0px 9px 19px -11px rgba(0,0,0,1); height: var(--header-height); }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 30px; width: auto; display: block; }
.header-logo-text { font-size: 16px; font-weight: 600; color: var(--accent); margin-left: 10px; white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: 0; }

/* Desktop Nav */
.header-nav { display: flex; align-items: center; }
.header-nav > a,
.header-nav .nav-folder > button {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--accent); padding: 10px 18px;
  background: none; border: none; cursor: pointer; transition: color 0.2s;
}
.header-nav > a:hover,
.header-nav .nav-folder > button:hover { color: var(--accent-bright) !important; }

/* Dropdown */
.nav-folder { position: relative; }
.nav-folder-content {
  position: absolute; top: 100%; left: 0; min-width: 280px;
  background: var(--white); box-shadow: 5px 10px 15px rgba(0,0,0,.25);
  text-align: left; opacity: 0; visibility: hidden;
  transform: translateY(4px); transition: all 0.2s; z-index: 100;
}
.nav-folder:hover .nav-folder-content { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-folder-content a { display: block; padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--accent); transition: color 0.2s; }
.nav-folder-content a:first-child { border-top: 3px solid var(--accent); padding-top: calc(0.5em + 10px); }
.nav-folder-content a:hover { color: var(--accent-bright); }

/* Contact CTA button */
.header-cta {
  margin-left: 8px; padding: 10px 24px; font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--accent); border: 1px solid var(--accent);
  background: none; transition: all 0.2s;
}
.header-cta:hover { background: var(--accent); color: var(--white); }

/* Hamburger button */
.header-burger { display: none; background: none; border: none; cursor: pointer; padding: 10px; margin-left: 8px; }
.burger-line { display: block; width: 22px; height: 1px; background: var(--accent); transition: all 0.3s; }
.burger-line + .burger-line { margin-top: 7px; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: #f9fafb; z-index: 999; overflow-y: auto;
  padding: calc(var(--header-height) + 30px) var(--mobile-gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { display: block; font-size: 18px; font-weight: 500; color: var(--accent); padding: 14px 0; border-bottom: 1px solid rgba(0,69,126,0.1); }
.mobile-menu a:hover { color: var(--accent-bright); }
.mobile-menu .mobile-folder-title {
  font-size: 18px; font-weight: 500; color: var(--accent); padding: 14px 0;
  border-bottom: 1px solid rgba(0,69,126,0.1); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu .mobile-folder-title::after { content: '+'; font-size: 20px; font-weight: 300; transition: transform 0.3s; }
.mobile-menu .mobile-folder-title.folder-open::after { content: '−'; }
.mobile-menu .mobile-folder-items { display: none; padding-left: 20px; }
.mobile-menu .mobile-folder-items.open { display: block; }
.mobile-menu .mobile-folder-items a { font-size: 16px; padding: 10px 0; color: var(--light-accent); }
.mobile-menu .mobile-cta { display: inline-block; margin-top: 24px; padding: 14px 32px; font-size: 16px; font-weight: 600; color: #fff; background: var(--accent); border: none; border-bottom: none; }

/* ===== CTA Section ===== */
.cta-section { background: #85bae0; }
.cta-inner { max-width: var(--max-width); margin: 0 auto; padding: 50px var(--gutter); display: grid; grid-template-columns: 10fr 4fr; align-items: center; }
.cta-section h1 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; text-align: center; }
.cta-btn-wrap { text-align: center; }
.cta-btn { display: inline-block; padding: 14px 36px; font-size: 16px; font-weight: 600; color: var(--white); background: var(--accent); border: none; cursor: pointer; transition: opacity 0.2s; }
.cta-btn:hover { opacity: 0.85; }

/* ===== Footer ===== */
.footer { background: #083b70; color: var(--white); }
.footer-grid {
  max-width: var(--max-width); margin: 0 auto; padding: 5px var(--gutter) 0;
  display: grid; grid-template-columns: 6fr 11fr 5fr;
  grid-template-rows: auto auto auto auto; gap: 0; align-items: start;
}
.footer-left { grid-column: 1; grid-row: 1 / 5; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { width: auto; max-width: 200px; }
.footer-right { grid-column: 3; grid-row: 1 / 5; font-size: 15px; line-height: 1.8; margin-top: 60px; }
.footer-label { font-weight: 700; margin-bottom: 4px; }
.footer-right a { color: var(--white); }
.footer-right a:hover { text-decoration: underline; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.footer-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.footer-icon img { width: 100%; height: 100%; object-fit: contain; }
.footer-social { grid-column: 3; grid-row: 5; margin-top: 8px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--white); }
.footer-social svg { width: 28px; height: 28px; fill: currentColor; }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; padding: 30px var(--gutter) 40px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.2); }
.footer-copyright { padding-top: 20px; font-size: 14px; color: rgba(255,255,255,0.6); }

/* ===== Scroll Animations ===== */
.reveal { clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%); transition: clip-path 800ms cubic-bezier(.4, 0, .2, 1); will-change: clip-path; }
.reveal.visible { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); }

/* ===== Common Section Helpers ===== */
.section { width: 100%; }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 80px var(--gutter); }
.section-dark { background: var(--alt-bg); }
.section-white { background: var(--white); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.section-title .pipe { color: var(--light-accent); }
.section-title .accent { color: var(--accent); }
.section-subtitle { font-size: clamp(1rem, 1.8vw, 1.3rem); color: var(--light-accent); margin-bottom: 24px; }

/* Two-col layout */
.two-col { display: grid; grid-template-columns: 9fr 8fr; gap: 80px; align-items: start; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.col-text { padding-top: 10px; }
.col-text p { font-size: 16px; line-height: 1.8; color: var(--accent); margin-bottom: 16px; }
.col-text ul { padding-left: 20px; margin-bottom: 16px; }
.col-text li { font-size: 16px; line-height: 1.8; color: var(--accent); list-style: disc; margin-bottom: 4px; }
.col-image img { width: 100%; border-radius: 13px; object-fit: cover; }

/* Hero Banner */
.hero-banner { margin-top: var(--header-height); position: relative; width: 100%; min-height: 400px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.hero-banner::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.hero-banner h4 { position: relative; z-index: 1; color: #fff; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; text-align: center; text-transform: uppercase; line-height: 1.2; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  :root { --gutter: var(--mobile-gutter); }
  .header-logo img { max-width: 30px; height: auto; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .header-burger { display: block; }
  .section-inner { padding: 50px var(--gutter); }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 30px; direction: ltr; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr;  }
  .footer-grid > div:nth-child(2) { display: none; }
  .footer-left { grid-row: auto; }
  .footer-logo img { max-width: 180px; }
  .footer-right { grid-column: 1; grid-row: auto; }
}
