/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; position: relative; min-height: 100%; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1a1a1a; background: #fff; margin-bottom: 0 !important; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; }
p { line-height: 1.7; }
a { text-decoration: none; color: inherit; }

/* ── Colors ── */
:root {
  --blue: #185FA5;
  --blue-light: #E6F1FB;
  --blue-mid: #B5D4F4;
  --green: #3B6D11;
  --green-light: #EAF3DE;
  --teal: #0F6E56;
  --teal-light: #E1F5EE;
  --border: #e5e7eb;
  --text-muted: #6b7280;
  --text-secondary: #4b5563;
  --bg-secondary: #f9fafb;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ── Navbar ── */
.at-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 64px; border-bottom: 1px solid var(--border);
  background: #fff; position: sticky; top: 0; z-index: 100;
}
.at-nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.at-nav-badge {
  width: 38px; height: 38px; background: var(--blue); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 13px; letter-spacing: 0.05em; flex-shrink: 0;
}
.at-nav-name { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #1a1a1a; }
.at-nav-tagline { font-size: 11px; color: var(--text-muted); }
.at-nav-links { display: flex; gap: 36px; list-style: none; }
.at-nav-links a { font-size: 14px; color: var(--text-secondary); transition: color 0.15s; }
.at-nav-links a:hover { color: var(--blue); }
.at-nav-cta {
  background: var(--blue); color: #fff; padding: 9px 22px;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 500;
  border: none; cursor: pointer; text-decoration: none; transition: opacity 0.15s;
}
.at-nav-cta:hover { opacity: 0.9; color: #fff; }
.at-nav-toggler { display: none; background: none; border: 1px solid var(--border); padding: 6px 10px; border-radius: var(--radius-md); cursor: pointer; }

/* ── Hero ── */
.at-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  padding: 96px 64px 80px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.at-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green);
  font-size: 12px; font-weight: 600; padding: 5px 14px;
  border-radius: 99px; margin-bottom: 24px; letter-spacing: 0.04em;
}
.at-hero-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.at-hero h1 { font-size: 44px; font-weight: 500; line-height: 1.15; margin-bottom: 20px; color: #0f172a; }
.at-hero h1 span { color: var(--blue); }
.at-hero-sub { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.at-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-at {
  background: var(--blue); color: #fff; padding: 12px 26px;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 500;
  border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: opacity 0.15s;
}
.btn-primary-at:hover { opacity: 0.9; color: #fff; }
.btn-secondary-at {
  background: transparent; color: #1a1a1a; padding: 12px 26px;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 500;
  border: 1px solid var(--border); cursor: pointer; text-decoration: none; display: inline-block; transition: border-color 0.15s;
}
.btn-secondary-at:hover { border-color: #9ca3af; color: #1a1a1a; }
.at-hero-visual {
  background: var(--blue-light); border-radius: var(--radius-lg);
  border: 1px solid var(--blue-mid); height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.at-hero-visual img { width: 99%; height: 99%; object-fit: cover; border-radius: var(--radius-md); }

/* ── Stats Bar ── */
.at-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.at-stat { padding: 36px 48px; border-right: 1px solid var(--border); }
.at-stat:last-child { border-right: none; }
.at-stat-number { font-size: 34px; font-weight: 500; color: var(--blue); margin-bottom: 4px; }
.at-stat-label { font-size: 13px; color: var(--text-muted); }

/* ── Sections ── */
.at-section { padding: 80px 64px; border-bottom: 1px solid var(--border); }
.at-section-bg { background: var(--bg-secondary); }
.at-section-tag {
  font-size: 12px; font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.at-section-header { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.at-section-title { font-size: 30px; font-weight: 500; color: #0f172a; }
.at-section-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ── Service Cards ── */
.at-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.at-service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.at-service-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.at-service-icon.blue { background: var(--blue-light); }
.at-service-icon.green { background: var(--green-light); }
.at-service-icon.teal { background: var(--teal-light); }
.at-service-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 10px; color: #0f172a; }
.at-service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.at-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.at-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 99px;
  background: var(--bg-secondary); color: var(--text-muted); border: 1px solid var(--border);
}

/* ── Project Cards ── */
.at-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.at-project-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.15s;
}
.at-project-card:hover { border-color: var(--blue-mid); }
.at-project-img {
  height: 180px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.at-project-img img { width: 100%; height: 100%; object-fit: cover; }
.at-project-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.at-project-img-placeholder.hydro { background: var(--blue-light); }
.at-project-img-placeholder.solar { background: var(--green-light); }
.at-project-img-placeholder.wind { background: var(--teal-light); }
.at-project-info { padding: 20px; }
.at-project-type { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.at-project-type.hydro { color: var(--blue); }
.at-project-type.solar { color: var(--green); }
.at-project-type.wind { color: var(--teal); }
.at-project-info h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; color: #0f172a; }
.at-project-info p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.at-project-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
}
.at-project-meta-label { font-size: 12px; color: var(--text-muted); }
.at-project-status { font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 99px; }
.status-dev { background: var(--green-light); color: var(--green); }
.status-study { background: var(--blue-light); color: var(--blue); }
.status-op { background: var(--teal-light); color: var(--teal); }

/* ── About / Values ── */
.at-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.at-about-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.at-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.at-value-item {
  padding: 22px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); display: flex; gap: 14px; align-items: flex-start;
}
.at-value-num { font-size: 13px; font-weight: 600; color: var(--blue); min-width: 26px; padding-top: 2px; }
.at-value-item h4 { font-size: 14px; font-weight: 500; margin-bottom: 5px; color: #0f172a; }
.at-value-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ── About Page Pillars ── */
.at-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.at-pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.at-pillar-img { border-radius: var(--radius-lg); overflow: hidden; height: 220px; }
.at-pillar-img img { width: 100%; height: 100%; object-fit: cover; }
.at-pillar-img-placeholder { width: 100%; height: 100%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; }
.at-pillar h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; color: #0f172a; }
.at-pillar p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.at-mission-box {
  background: var(--blue-light); border: 1px solid var(--blue-mid);
  border-radius: var(--radius-lg); padding: 32px; margin-top: 48px;
}
.at-mission-box h2 { font-size: 20px; font-weight: 500; color: var(--blue); margin-bottom: 12px; }
.at-mission-box p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.at-values-list { margin-top: 48px; }
.at-values-list-title { font-size: 24px; font-weight: 500; margin-bottom: 24px; color: #0f172a; }
.at-values-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.at-value-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.at-value-card h4 { font-size: 15px; font-weight: 500; color: var(--blue); margin-bottom: 8px; }
.at-value-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ── Contact ── */
.at-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.at-contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.at-contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.at-contact-icon {
  width: 38px; height: 38px; background: var(--blue-light);
  border-radius: var(--radius-md); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.at-contact-info-item h4 { font-size: 13px; font-weight: 500; margin-bottom: 2px; color: #0f172a; }
.at-contact-info-item p { font-size: 13px; color: var(--text-secondary); }
.at-contact-form { display: flex; flex-direction: column; gap: 14px; }
.at-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.at-form-field { display: flex; flex-direction: column; gap: 6px; }
.at-form-field label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.at-form-field .form-control {
  padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-md); font-size: 14px;
  background: #fff; color: #1a1a1a; transition: border-color 0.15s;
  font-family: inherit;
}
.at-form-field .form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,0.1); }
.at-submit-btn {
  background: var(--blue); color: #fff; padding: 12px 28px;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 500;
  border: none; cursor: pointer; align-self: flex-start; transition: opacity 0.15s;
}
.at-submit-btn:hover { opacity: 0.9; }

/* ── Projects Page ── */
.at-projects-header { padding: 64px 64px 0; }
.at-projects-filter { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.at-filter-btn {
  padding: 8px 18px; border-radius: 99px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--border); background: #fff; cursor: pointer; transition: all 0.15s; color: var(--text-secondary);
}
.at-filter-btn.active, .at-filter-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.at-projects-body { padding: 32px 64px 80px; }
.at-projects-all { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── Footer ── */
.at-footer {
  padding: 28px 64px; display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); background: #fff;
}
.at-footer-left { font-size: 13px; color: var(--text-muted); }
.at-footer-left span { color: var(--blue); font-weight: 500; }
.at-footer-links { display: flex; gap: 28px; }
.at-footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.15s; }
.at-footer-links a:hover { color: var(--blue); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .at-nav { padding: 14px 24px; }
  .at-nav-links { display: none; }
  .at-nav-cta { display: none; }
  .at-nav-toggler { display: block; }
  .at-hero { grid-template-columns: 1fr; padding: 48px 24px; gap: 40px; }
  .at-hero-visual { height: 240px; }
  .at-hero h1 { font-size: 30px; }
  .at-stats { grid-template-columns: repeat(2, 1fr); }
  .at-stat { padding: 24px; }
  .at-section { padding: 56px 24px; }
  .at-section-header { grid-template-columns: 1fr; gap: 16px; }
  .at-services { grid-template-columns: 1fr; }
  .at-projects-grid { grid-template-columns: 1fr; }
  .at-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .at-values-grid { grid-template-columns: 1fr; }
  .at-pillars { grid-template-columns: 1fr; }
  .at-pillar { grid-template-columns: 1fr; }
  .at-values-list-grid { grid-template-columns: 1fr; }
  .at-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .at-form-row { grid-template-columns: 1fr; }
  .at-footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
  .at-projects-header { padding: 40px 24px 0; }
  .at-projects-body { padding: 24px 24px 56px; }
  .at-projects-all { grid-template-columns: 1fr; }
}
