/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #00b4b4;
  --primary-dark: #008f8f;
  --dark: #1a2332;
  --dark-mid: #2d3e50;
  --gray: #6c757d;
  --light-gray: #f4f7f9;
  --white: #ffffff;
  --text: #444444;
  --font: 'Segoe UI', Arial, sans-serif;
  --danger: #dc2626;
  --success: #16a34a;
  --border: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid transparent;
}

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

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--primary); }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  color: #aab4be;
  font-size: 13px;
  padding: 7px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a { color: #aab4be; transition: color .2s; }
.top-bar a:hover { color: var(--primary); }

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item { display: flex; align-items: center; gap: 6px; }

.top-bar-auth-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
  color: #aab4be;
  text-decoration: none;
}

.top-bar-auth-link:hover { color: var(--primary); }

.top-bar-auth-link--outline {
  border-color: rgba(170,180,190,.35);
  color: #aab4be;
}

.top-bar-auth-link--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.top-bar-auth-link--solid {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark) !important;
}

.top-bar-auth-link--solid:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white) !important;
}

/* ===== HEADER / NAVBAR ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img { height: 48px; width: auto; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text span:first-child { font-size: 15px; font-weight: 700; color: var(--dark); }
.logo-text span:last-child { font-size: 11px; color: var(--primary); letter-spacing: 1px; }

nav { display: flex; align-items: center; gap: 4px; }

nav a {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-mid);
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

nav a:hover, nav a.active { color: var(--primary); background: rgba(0,180,180,.07); }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform .2s;
  flex-shrink: 0;
}

.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 6px 0;
  z-index: 1100;
}

.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-mid);
  border-radius: 0;
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.nav-dropdown-menu a:hover { color: var(--primary); background: rgba(0,180,180,.07); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all .3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 560px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 60%, #1a4060 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /*background: url('../images/hero-bg.jpg') center/cover no-repeat;*/
  opacity: .18;
}

.hero .container { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 60px; }

.hero-content { max-width: 600px; }

.hero-label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  padding: 28px 0;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.stat-item .stat-icon {
  font-size: 34px;
  opacity: .85;
  min-width: 40px;
}

.stat-item h3 { font-size: 28px; font-weight: 800; }
.stat-item p { font-size: 12px; opacity: .9; text-transform: uppercase; letter-spacing: 1px; }

/* ===== ABOUT ===== */
.about { padding: 80px 0; background: var(--white); }

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-images img { border-radius: 6px; height: 200px; width: 100%; object-fit: cover; }
.about-images img:first-child { grid-column: span 2; height: 240px; }

.about-text .label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.about-text h2 { font-size: 30px; font-weight: 700; color: var(--dark); margin-bottom: 16px; line-height: 1.3; }
.about-text p { color: var(--gray); margin-bottom: 16px; }

.about-features { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 28px; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature .icon {
  width: 38px;
  height: 38px;
  background: rgba(0,180,180,.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.about-feature h4 { font-size: 14px; font-weight: 700; color: var(--dark); }
.about-feature p { font-size: 13px; color: var(--gray); }

/* ===== SERVICES ===== */
.services { padding: 80px 0; background: var(--light-gray); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  border-bottom-color: var(--primary);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(0,180,180,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: var(--primary);
  transition: background .25s;
}

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

.service-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray); }

/* ===== PROJECTS ===== */
.projects { padding: 80px 0; background: var(--white); }

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 60px;
}

.project-row:last-child { margin-bottom: 0; }
.project-row.reverse { direction: rtl; }
.project-row.reverse > * { direction: ltr; }

.project-img img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; }

.project-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.project-text h3 { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.project-text p { color: var(--gray); margin-bottom: 20px; }

.project-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.project-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.project-list li::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* ===== TEAM ===== */
.team { padding: 80px 0; background: var(--light-gray); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.team-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }

.team-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  background: #dce6ed;
}

.team-photo-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #d0e8ec, #b0d5da);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--primary);
}

.team-info { padding: 20px 16px; }
.team-info h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-info span { font-size: 13px; color: var(--primary); display: block; margin-bottom: 12px; }

.team-socials { display: flex; justify-content: center; gap: 10px; }
.team-socials a {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gray);
  transition: all .2s;
}
.team-socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ===== COUNTERS ===== */
.counters {
  background: var(--dark);
  padding: 64px 0;
}

.counters .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.counter-item { color: var(--white); }
.counter-item .number { font-size: 48px; font-weight: 800; color: var(--primary); }
.counter-item p { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: .8; margin-top: 4px; }

/* ===== FAQ ===== */
.faq { padding: 80px 0; background: var(--white); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.faq-image img { width: 100%; border-radius: 8px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid #e0e8ed;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  transition: background .2s;
  user-select: none;
}

.faq-question:hover { background: var(--light-gray); }
.faq-item.open .faq-question { background: var(--primary); color: var(--white); }

.faq-toggle { font-size: 18px; font-weight: 300; transition: transform .3s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: 14px;
  color: var(--gray);
  padding: 0 20px;
}

.faq-item.open .faq-answer { max-height: 300px; padding: 16px 20px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--primary);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 { font-size: 34px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 28px; }

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

.btn-white:hover { background: transparent; color: var(--white); }

/* ===== EVENTS ===== */
.events { padding: 80px 0; background: var(--light-gray); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  transition: box-shadow .25s;
}

.event-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); }

.event-date {
  background: var(--primary);
  color: var(--white);
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 64px;
}

.event-date .day { font-size: 26px; font-weight: 800; }
.event-date .month { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }

.event-info { padding: 16px 18px; }
.event-info h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.event-info p { font-size: 13px; color: var(--gray); }
.event-info .event-loc { font-size: 12px; color: var(--primary); margin-top: 8px; display: flex; align-items: center; gap: 4px; }

/* ===== NEWS ===== */
.news { padding: 80px 0; background: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
}

.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }

.news-img { width: 100%; height: 200px; object-fit: cover; background: #d0e8ec; }

.news-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #d0e8ec, #b0d5da);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
}

.news-body { padding: 20px; }

.news-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 10px;
}

.news-meta span { display: flex; align-items: center; gap: 4px; }
.news-tag {
  background: rgba(0,180,180,.12);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
}

.news-body h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-body p { font-size: 13px; color: var(--gray); margin-bottom: 16px; }
.news-body a { font-size: 13px; font-weight: 600; color: var(--primary); }
.news-body a:hover { text-decoration: underline; }

/* ===== PARTNERS ===== */
.partners { padding: 56px 0; background: var(--light-gray); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}

.partner-item {
  background: var(--white);
  border-radius: 6px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .2s, opacity .2s;
}

.partner-item:hover { filter: grayscale(0); opacity: 1; }
.partner-name { font-size: 14px; font-weight: 700; color: var(--dark-mid); text-align: center; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #aab4be;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 44px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #aab4be;
  transition: all .2s;
}
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: #aab4be;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before { content: '›'; color: var(--primary); font-weight: 700; }
.footer-col ul li a:hover { color: var(--primary); }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.footer-contact-item .icon { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .counters .container { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header { position: relative; }

  .hamburger { display: flex; }

  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    border-top: 1px solid #f0f0f0;
    gap: 0;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
  }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 12px 8px; border-bottom: 1px solid #f0f0f0; border-radius: 0; }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    border-left: 3px solid var(--primary);
    margin-left: 8px;
  }
  .nav-dropdown-menu a { padding: 10px 12px; font-size: 13px; }

  .hero h1 { font-size: 32px; }
  .hero-buttons { flex-direction: column; }

  .about .container { grid-template-columns: 1fr; }
  .about-images { order: -1; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .project-row { grid-template-columns: 1fr; }
  .project-row.reverse { direction: ltr; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .counters .container { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-image { display: none; }

  .events-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }

  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .section-title h2 { font-size: 24px; }
  .top-bar-left { display: none; }
}

@media (max-width: 480px) {
  .stats-bar .container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .counters .container { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
