/* === VARIABLES === */
:root {
  --primary: #4A90D9;
  --primary-dark: #2E7EDD;
  --teal-dark: #1B3A5C;
  --teal-bright: #5BA3E6;
  --teal-light: #e8f1fb;
  --blue-light: #95BDD5;
  --text-dark: #1a2a3a;
  --text-body: #4a5568;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-off: #f5f8fc;
  --bg-dark: #0f1d33;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-alt { background: var(--bg-off); }
.section-teal { background: var(--teal-dark); color: #fff; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header .label {
  display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--teal-bright); margin-bottom: 12px;
}
.section-header h2 {
  font-family: 'Raleway', sans-serif; font-size: 2.5rem; font-weight: 700;
  color: var(--text-dark); line-height: 1.2; margin-bottom: 16px;
}
.section-dark .section-header h2,
.section-teal .section-header h2 { color: #fff; }
.section-header p { font-size: 1.1rem; color: var(--text-light); }
.section-dark .section-header p,
.section-teal .section-header p { color: rgba(255,255,255,0.7); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; transition: all var(--transition); border: none; cursor: pointer;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,144,217,0.3); }
.btn-teal { background: var(--primary); color: #fff; }
.btn-teal:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* === HEADER === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all var(--transition);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 44px; width: auto; }
.site-header.scrolled .logo img { height: 38px; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 0.9rem; font-weight: 500; color: #fff;
  position: relative; padding: 4px 0;
}
.site-header.scrolled .main-nav a { color: var(--text-dark); }
.main-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0;
  height: 2px; background: var(--teal-bright); transition: width var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.btn-nav {
  background: var(--primary) !important; color: #fff !important;
  padding: 10px 24px !important; border-radius: 50px;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }
.btn-nav::after { display: none !important; }
.lang-switch {
  font-size: 0.8rem !important; font-weight: 700 !important;
  padding: 6px 14px !important; border: 1.5px solid rgba(255,255,255,0.4) !important;
  border-radius: 6px; letter-spacing: 1px; opacity: 0.8;
  transition: all var(--transition);
}
.lang-switch:hover { opacity: 1; border-color: #fff !important; }
.lang-switch::after { display: none !important; }
.site-header.scrolled .lang-switch { border-color: var(--border) !important; color: var(--text-dark) !important; }
.site-header.scrolled .lang-switch:hover { border-color: var(--primary) !important; color: var(--primary) !important; }

/* Mobile menu */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999;
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; -webkit-tap-highlight-color: transparent; }
.mobile-menu-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  margin: 5px 0; transition: all var(--transition);
}
.site-header.scrolled .mobile-menu-toggle span { background: var(--text-dark); }
.mobile-menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--teal-dark) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.15;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 120px 0 80px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,144,217,0.15); color: var(--teal-bright);
  padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 24px; border: 1px solid rgba(74,144,217,0.25);
}
.hero h1 {
  font-family: 'Raleway', sans-serif; font-size: 3.5rem; font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 24px;
}
.hero h1 span { color: var(--teal-bright); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.7); margin-bottom: 40px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* === STATS CARD SECTION === */
.stats-section {
  position: relative; z-index: 10; margin-top: -60px; padding-bottom: 0;
}
.stats-card {
  background: #fff; border-radius: var(--radius); padding: 48px 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: space-between;
}
.stats-card-item { text-align: center; flex: 1; }
.stats-card-number {
  font-family: 'Source Sans 3', sans-serif; font-size: 2.8rem; font-weight: 700;
  color: var(--primary);
}
.stats-card-label {
  font-size: 0.9rem; color: var(--text-light); margin-top: 6px; font-weight: 500;
}
.stats-card-divider {
  width: 1px; height: 56px; background: var(--border); flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-section { margin-top: -40px; }
  .stats-card { flex-wrap: wrap; gap: 32px; padding: 32px 24px; justify-content: center; }
  .stats-card-item { flex: 0 0 calc(50% - 16px); }
  .stats-card-divider { display: none; }
  .stats-card-number { font-size: 2.2rem; }
}

/* === SERVICES GRID === */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-white); border-radius: var(--radius); padding: 40px 32px;
  border: 1px solid var(--border); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--teal-light); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.service-card h3 {
  font-family: 'Raleway', sans-serif; font-size: 1.2rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 12px;
}
.service-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: 20px;
}
.service-card:hover .card-link { gap: 10px; }

/* === FEATURES / PROCESS === */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process-step { text-align: center; position: relative; }
.step-number {
  width: 64px; height: 64px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 20px;
  font-family: 'Raleway', sans-serif; font-size: 1.5rem; font-weight: 700;
  background: rgba(74,144,217,0.15); color: var(--teal-bright);
}
.process-step h3 {
  font-family: 'Raleway', sans-serif; font-size: 1.15rem; font-weight: 700;
  color: #fff; margin-bottom: 10px;
}
.process-step p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

/* === ABOUT SECTION (Homepage) === */
.about-preview {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
.about-image .accent-box {
  position: absolute; bottom: -20px; right: -20px; background: var(--teal-bright);
  color: var(--teal-dark); padding: 24px; border-radius: var(--radius);
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
}
.about-text .label {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--teal-bright); margin-bottom: 12px;
}
.about-text h2 {
  font-family: 'Raleway', sans-serif; font-size: 2.2rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 20px; line-height: 1.25;
}
.about-text p { margin-bottom: 16px; }
.about-features { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.about-feature {
  display: flex; align-items: flex-start; gap: 14px;
}
.about-feature i {
  color: var(--teal-bright); font-size: 1.1rem; margin-top: 4px; flex-shrink: 0;
}
.about-feature span { font-weight: 500; color: var(--text-dark); }

/* === STATS === */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
  padding: 60px 0;
}
.stat-item .stat-number {
  font-family: 'Raleway', sans-serif; font-size: 3rem; font-weight: 700; color: var(--teal-bright);
}
.stat-item .stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* === CASE STUDIES === */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: var(--bg-white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card img { width: 100%; height: 220px; object-fit: cover; }
.case-card-body { padding: 28px; }
.case-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; background: var(--teal-light);
  color: var(--teal-dark); margin-bottom: 12px;
}
.case-card h3 {
  font-family: 'Raleway', sans-serif; font-size: 1.15rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 10px;
}
.case-card p { font-size: 0.9rem; color: var(--text-light); }
.case-result {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal-dark) 100%);
  padding: 80px 0; text-align: center; color: #fff;
}
.cta-section h2 {
  font-family: 'Raleway', sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 16px;
}
.cta-section p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === OPEN CALLS - CARDS === */
.open-call-card {
  display: block; background: var(--bg-white); border-radius: var(--radius);
  padding: 40px; border: 1px solid var(--border); margin-bottom: 32px;
  transition: all var(--transition); text-decoration: none; color: inherit;
}
.open-call-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); transform: translateY(-2px); }
.open-call-card-dark { background: var(--bg-dark); color: #fff; border-color: transparent; }
.open-call-card-dark:hover { border-color: rgba(255,255,255,0.2); }
.open-call-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.open-call-badge { display: flex; align-items: center; gap: 12px; }
.open-call-program {
  font-size: 0.8rem; font-weight: 600; color: var(--primary);
  background: var(--teal-light); padding: 4px 14px; border-radius: 50px;
}
.open-call-card-dark .open-call-program { background: rgba(74,144,217,0.2); color: var(--teal-bright); }
.open-call-deadline-box { text-align: right; }
.open-call-deadline-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); font-weight: 600; }
.open-call-card-dark .open-call-deadline-label { color: rgba(255,255,255,0.5); }
.open-call-deadline-date { font-family: 'Raleway', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--text-dark); }
.open-call-card-dark .open-call-deadline-date { color: #fff; }
.open-call-card h2 {
  font-family: 'Raleway', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 10px; line-height: 1.3;
}
.open-call-card-dark h2 { color: #fff; }
.open-call-subtitle { font-size: 0.95rem; color: var(--text-light); margin-bottom: 28px; line-height: 1.6; }
.open-call-card-dark .open-call-subtitle { color: rgba(255,255,255,0.6); }
.open-call-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.open-call-card-dark .open-call-highlights { border-color: rgba(255,255,255,0.1); }
.open-call-highlight { display: flex; align-items: center; gap: 12px; }
.open-call-highlight i { font-size: 1.3rem; color: var(--primary); flex-shrink: 0; }
.open-call-card-dark .open-call-highlight i { color: var(--teal-bright); }
.open-call-highlight strong { display: block; font-size: 0.95rem; color: var(--text-dark); }
.open-call-card-dark .open-call-highlight strong { color: #fff; }
.open-call-highlight span { font-size: 0.8rem; color: var(--text-light); }
.open-call-card-dark .open-call-highlight span { color: rgba(255,255,255,0.5); }
.open-call-footer { padding-top: 20px; }
.open-call-cta { font-weight: 600; font-size: 0.95rem; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; }
.open-call-card:hover .open-call-cta { gap: 12px; }
.open-call-card-dark .open-call-cta { color: var(--teal-bright); }

.call-status {
  padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  white-space: nowrap;
}
.call-status.open { background: #dcfce7; color: #166534; }
.call-status.upcoming { background: #fef3c7; color: #92400e; }
.call-status.closing { background: #fecaca; color: #991b1b; }

/* === OPEN CALL DETAIL PAGE === */
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 20px; transition: color var(--transition); }
.back-link:hover { color: #fff; }

.call-key-info { background: var(--bg-dark); padding: 0 0 40px; margin-top: -40px; }
.call-key-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 28px 32px;
}
.call-key-item { text-align: center; }
.call-key-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); margin-bottom: 8px; font-weight: 600; }
.call-key-value { font-size: 1.1rem; font-weight: 700; color: #fff; }

.call-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.call-detail-main { min-width: 0; }
.call-detail-block {
  margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.call-detail-block:last-child { border-bottom: none; }
.call-detail-block h2 {
  font-family: 'Raleway', sans-serif; font-size: 1.35rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.call-detail-block h2 i { color: var(--primary); font-size: 1.1rem; }
.call-detail-block h3 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin: 20px 0 10px; }
.call-detail-block p { margin-bottom: 12px; line-height: 1.8; }
.call-detail-block ul { padding-left: 0; margin-bottom: 12px; }
.call-detail-block ul li {
  padding: 8px 0 8px 24px; position: relative; line-height: 1.7;
}
.call-detail-block ul li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary); opacity: 0.5;
}

.call-detail-table { overflow-x: auto; margin: 12px 0; }
.call-detail-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.call-detail-table th {
  background: var(--bg-off); padding: 12px 16px; text-align: left;
  font-weight: 600; color: var(--text-dark); border-bottom: 2px solid var(--border);
}
.call-detail-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.call-detail-table tr:hover td { background: var(--bg-off); }

.call-thematic-areas { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.thematic-area {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--bg-off); border-radius: var(--radius-sm); font-size: 0.9rem;
}
.thematic-area i { color: var(--primary); font-size: 1.1rem; width: 20px; text-align: center; flex-shrink: 0; }
.thematic-area strong { margin-right: 4px; }

/* Sidebar */
.call-detail-sidebar { position: sticky; top: 100px; }
.call-sidebar-card {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; margin-bottom: 20px;
}
.call-sidebar-card h3 {
  font-family: 'Raleway', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 12px;
}
.call-sidebar-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }

.call-timeline { padding-left: 20px; border-left: 2px solid var(--border); }
.call-timeline-item { position: relative; padding: 0 0 24px 20px; font-size: 0.85rem; line-height: 1.5; }
.call-timeline-item:last-child { padding-bottom: 0; }
.call-timeline-dot {
  position: absolute; left: -27px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--border); border: 2px solid #fff;
}
.call-timeline-item.done .call-timeline-dot { background: var(--primary); }
.call-timeline-item.active .call-timeline-dot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.2); }

.call-checklist { padding-left: 0 !important; }
.call-checklist li { list-style: none; padding: 6px 0 !important; display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.call-checklist li::before { display: none !important; }
.call-checklist li i { color: var(--primary); font-size: 0.9rem; }

@media (max-width: 1024px) {
  .call-detail-layout { grid-template-columns: 1fr; }
  .call-detail-sidebar { position: static; }
  .open-call-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .open-call-card { padding: 28px; }
  .open-call-card h2 { font-size: 1.25rem; }
  .open-call-highlights { grid-template-columns: 1fr; }
  .open-call-card-top { flex-direction: column; gap: 12px; }
  .open-call-deadline-box { text-align: left; }
  .call-key-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Keep old call styles for reference */
.call-info h3 {
  font-family: 'Raleway', sans-serif; font-size: 1.15rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 8px;
}
.call-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-light); }
.call-meta span { display: flex; align-items: center; gap: 6px; }
.call-amount { font-family: 'Raleway', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* === CONTACT PAGE === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info-card {
  background: var(--teal-dark); color: #fff; border-radius: var(--radius);
  padding: 48px; position: relative; overflow: hidden;
}
.contact-info-card h3 {
  font-family: 'Raleway', sans-serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 16px;
}
.contact-info-card > p { opacity: 0.7; margin-bottom: 36px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail .icon-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(74,144,217,0.2); display: flex; align-items: center;
  justify-content: center; color: var(--teal-bright); flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.85rem; opacity: 0.6; margin-bottom: 4px; font-weight: 400; }
.contact-detail p { font-weight: 500; }
.contact-form { background: var(--bg-white); border-radius: var(--radius); padding: 48px; border: 1px solid var(--border); }
.contact-form h3 {
  font-family: 'Raleway', sans-serif; font-size: 1.4rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; transition: border-color var(--transition);
  background: var(--bg-off);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* === EVALUATION SECTIONS === */
.eval-section { margin-bottom: 24px; }
.eval-section h4 {
  font-family: 'Raleway', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.eval-section h4 i { color: var(--primary); font-size: 1rem; }
.eval-list { padding-left: 0; margin: 0; }
.eval-list li {
  list-style: none; padding: 8px 0 8px 24px; position: relative;
  font-size: 0.9rem; color: var(--text-body); line-height: 1.6;
}
.eval-list li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary); opacity: 0.4;
}

/* === ABOUT PAGE === */
.about-hero {
  padding: 160px 0 80px; background: linear-gradient(135deg, var(--bg-dark) 0%, var(--teal-dark) 100%);
  color: #fff; text-align: center;
}
.about-hero h1 { font-family: 'Raleway', sans-serif; font-size: 3rem; font-weight: 800; margin-bottom: 16px; }
.about-hero p { font-size: 1.15rem; opacity: 0.7; max-width: 600px; margin: 0 auto; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card { text-align: center; }
.team-card .avatar {
  width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--bg-off); display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--teal-dark); overflow: hidden; border: 4px solid var(--teal-light);
}
.team-card h3 { font-family: 'Raleway', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); }
.team-card .role { font-size: 0.85rem; color: var(--primary); font-weight: 500; margin-top: 4px; }
.team-card p { font-size: 0.9rem; color: var(--text-light); margin-top: 10px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value-card { text-align: center; padding: 32px; }
.value-card i { font-size: 2rem; color: var(--teal-bright); margin-bottom: 16px; }
.value-card h3 {
  font-family: 'Raleway', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 10px;
}
.value-card p { font-size: 0.9rem; color: var(--text-light); }

/* === PAGE HERO (shared) === */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--teal-dark) 100%);
  color: #fff; text-align: center;
}
.page-hero h1 { font-family: 'Raleway', sans-serif; font-size: 3rem; font-weight: 800; margin-bottom: 16px; }
.page-hero p { font-size: 1.15rem; opacity: 0.7; max-width: 600px; margin: 0 auto; }

/* === ANIMATIONS === */
.animate-in { opacity: 0; transform: translateY(24px); transition: all 0.6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* === FOOTER === */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-links a:hover { background: var(--primary); color: #fff; }
.footer-col h4 { font-family: 'Raleway', sans-serif; color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 0.9rem; padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal-bright); }
.footer-col p { font-size: 0.85rem; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.footer-col p i { color: var(--teal-bright); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 48px;
  padding: 24px 0; text-align: center; font-size: 0.85rem;
}

/* === RESPONSIVE - TABLET (1024px) === */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .services-grid, .cases-grid, .team-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-preview { gap: 40px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .call-detail-layout { grid-template-columns: 1fr; }
  .call-detail-sidebar { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .open-call-highlights { grid-template-columns: repeat(2, 1fr); }
  .about-text h2 { font-size: 1.8rem; }
}

/* === RESPONSIVE - MOBILE (768px) === */
@media (max-width: 768px) {
  /* Mobile menu */
  .mobile-menu-toggle { display: block; z-index: 1001; }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
    background: var(--bg-dark); flex-direction: column; justify-content: center;
    align-items: center; gap: 24px; transition: right var(--transition);
    padding: 60px 24px; box-shadow: -4px 0 24px rgba(0,0,0,0.3);
  }
  .main-nav.open { right: 0; }
  .main-nav a { color: #fff !important; font-size: 1.1rem; }
  .btn-nav { padding: 12px 28px !important; }

  /* Hero */
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-content { padding: 100px 0 40px; }
  .hero h1 { font-size: 2rem; margin-bottom: 16px; }
  .hero p { font-size: 1rem; margin-bottom: 28px; line-height: 1.7; }
  .hero-label { font-size: 0.75rem; padding: 6px 14px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* Stats card */
  .stats-section { margin-top: -30px; }
  .stats-card { flex-wrap: wrap; gap: 24px; padding: 28px 20px; justify-content: center; }
  .stats-card-item { flex: 0 0 calc(50% - 12px); }
  .stats-card-divider { display: none; }
  .stats-card-number { font-size: 2rem; }
  .stats-card-label { font-size: 0.8rem; }

  /* Sections */
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.75rem; }
  .section-header p { font-size: 1rem; }

  /* Page heroes */
  .page-hero, .about-hero { padding: 110px 0 50px; }
  .page-hero h1, .about-hero h1 { font-size: 1.8rem; }
  .page-hero p, .about-hero p { font-size: 1rem; }

  /* Grids to single column */
  .services-grid, .process-steps, .cases-grid, .team-grid, .values-grid { grid-template-columns: 1fr; }
  .about-preview { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* About preview */
  .about-text h2 { font-size: 1.6rem; }
  .about-image img { height: 260px; }
  .about-image .accent-box { position: static; margin-top: 16px; text-align: center; }

  /* Service cards */
  .service-card { padding: 28px 24px; }

  /* Case cards */
  .case-card img { height: 180px; }
  .case-card-body { padding: 20px; }

  /* Process steps */
  .process-steps { gap: 32px; }
  .step-number { width: 52px; height: 52px; font-size: 1.2rem; }

  /* CTA */
  .cta-section { padding: 60px 0; }
  .cta-section h2 { font-size: 1.75rem; }
  .cta-section p { font-size: 0.95rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Values */
  .value-card { padding: 24px 16px; }
  .value-card i { font-size: 1.6rem; }

  /* Contact page */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-info-card { padding: 32px 24px; }
  .contact-info-card h3 { font-size: 1.3rem; }
  .contact-form { padding: 32px 24px; }
  .contact-form h3 { font-size: 1.2rem; }

  /* Open call cards */
  .open-call-card { padding: 24px 20px; }
  .open-call-card h2 { font-size: 1.2rem; }
  .open-call-card-top { flex-direction: column; gap: 12px; }
  .open-call-deadline-box { text-align: left; }
  .open-call-highlights { grid-template-columns: 1fr; gap: 16px; }
  .open-call-subtitle { font-size: 0.85rem; margin-bottom: 20px; }
  .open-call-badge { flex-wrap: wrap; gap: 8px; }

  /* Open call detail */
  .call-key-info { margin-top: -30px; padding-bottom: 24px; }
  .call-key-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
  .call-key-value { font-size: 0.95rem; }
  .call-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .call-detail-sidebar { position: static; display: flex; flex-direction: column; }
  .call-detail-block { margin-bottom: 28px; padding-bottom: 28px; }
  .call-detail-block h2 { font-size: 1.15rem; }
  .call-detail-table { margin: 8px -8px; }
  .call-detail-table th, .call-detail-table td { padding: 10px 12px; font-size: 0.8rem; }
  .thematic-area { padding: 12px 14px; font-size: 0.85rem; }

  /* Evaluation sections */
  .eval-section h4 { font-size: 0.95rem; }
  .eval-list li { font-size: 0.85rem; }

  /* Footer */
  .site-footer { padding: 48px 0 0; }
  .footer-bottom { margin-top: 32px; }
}

/* === RESPONSIVE - SMALL MOBILE (480px) === */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 0.9rem; }
  .stats-card { padding: 24px 16px; gap: 20px; }
  .stats-card-number { font-size: 1.7rem; }
  .stats-card-label { font-size: 0.75rem; }
  .section-header h2 { font-size: 1.5rem; }
  .page-hero h1, .about-hero h1 { font-size: 1.5rem; }
  .page-hero p, .about-hero p { font-size: 0.9rem; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }
  .cta-section h2 { font-size: 1.5rem; }
  .open-call-card h2 { font-size: 1.1rem; }
  .open-call-highlight strong { font-size: 0.85rem; }
  .open-call-highlight span { font-size: 0.75rem; }
  .call-key-grid { grid-template-columns: 1fr; }
  .call-key-value { font-size: 0.9rem; }
  .contact-info-card { padding: 24px 20px; }
  .contact-form { padding: 24px 20px; }
  .about-image img { height: 200px; }
  .case-card img { height: 160px; }
  .footer-col h4 { font-size: 0.9rem; }
  .logo img { height: 36px; }
  .site-header.scrolled .logo img { height: 32px; }
}
