/* ============================================
   BC GROUP - MAIN STYLESHEET
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:       #1a3560;
  --blue:       #0091b5;
  --blue-light: #00aecc;
  --grey-dark:  #2d3748;
  --grey-mid:   #4a5568;
  --grey-light: #f7f9fc;
  --border:     #e2e8f0;
  --white:      #ffffff;
  --text:       #1a202c;
  --text-muted: #718096;
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.12);
  --radius:     6px;
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

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

a:hover {
  color: var(--blue-light);
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; color: var(--grey-mid); }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--grey {
  background: var(--grey-light);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--grey-mid);
  max-width: 620px;
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.text-center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

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

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

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

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__logo-img {
  height: 44px;
  width: auto;
}

.nav__logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav__logo-text span {
  color: var(--blue);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-dark);
  transition: var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--blue);
  background: var(--grey-light);
}

.nav__login {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-radius: var(--radius);
  margin-left: 8px;
}

.nav__login:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo img {
  width: 320px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.25));
}

@media (max-width: 768px) {
  .hero__logo { display: none; }
}

.hero__tagline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 560px;
}

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

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide: var(--border);
}

.stats__item {
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stats__item:last-child {
  border-right: none;
}

.stats__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stats__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   SERVICES CARDS
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--navy);
}

.card p {
  font-size: 0.93rem;
  margin-bottom: 18px;
}

.card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card__link::after {
  content: '→';
  transition: var(--transition);
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

/* ============================================
   WHY CHOOSE US / TWO COLUMN
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.checklist {
  margin-top: 20px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--grey-mid);
}

.checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ============================================
   VISUAL BLOCK (blue panel)
   ============================================ */
.visual-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 14px;
  padding: 50px 40px;
  color: var(--white);
}

.visual-block h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.visual-block p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.visual-block .stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.visual-block .stat-box {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.visual-block .stat-box .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.visual-block .stat-box .lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: Georgia, serif;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  color: var(--grey-mid);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.testimonial-card__company {
  font-size: 0.82rem;
  color: var(--blue);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 70px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.cta-banner .btn--outline:hover {
  color: var(--navy);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 60px 0;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 580px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

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

.breadcrumb span {
  margin: 0 8px;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.team-card h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.88rem;
}

/* ============================================
   LOCATIONS
   ============================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.location-card__city {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.location-card__count {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.location-card p {
  font-size: 0.88rem;
}

/* ============================================
   SERVICES PAGE - SERVICE BLOCKS
   ============================================ */
.service-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.service-block__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-block__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-block h2 {
  margin-bottom: 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.service-detail ul {
  margin-top: 16px;
}

.service-detail ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.93rem;
  color: var(--grey-mid);
}

.service-detail ul li::before {
  content: '→';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-highlight {
  background: var(--grey-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 28px 24px;
}

.service-highlight h4 {
  color: var(--navy);
  margin-bottom: 12px;
}

.service-highlight p {
  font-size: 0.9rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-item__icon {
  width: 42px;
  height: 42px;
  background: var(--grey-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-item__value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.contact-item__value a {
  color: var(--text);
}

.contact-item__value a:hover {
  color: var(--blue);
}

/* Contact form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,170,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   DIGITAL LOG BOOK PAGE
   ============================================ */
.logbook-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}

.logbook-features {
  margin-top: 24px;
}

.logbook-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.logbook-feature:last-child {
  border-bottom: none;
}

.logbook-feature__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logbook-feature__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logbook-feature h4 {
  margin-bottom: 4px;
}

.logbook-feature p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand p {
  font-size: 0.88rem;
  margin-top: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.footer__logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer__logo-text span {
  color: var(--blue-light);
}

.footer__tagline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--white);
}

.footer__contact-line {
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.65);
}

.footer__contact-line a {
  color: rgba(255,255,255,0.65);
}

.footer__contact-line a:hover {
  color: var(--white);
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom a {
  color: rgba(255,255,255,0.4);
}

.footer__bottom a:hover {
  color: rgba(255,255,255,0.7);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .locations-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .logbook-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 55px 0; }
  .cards { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding: 22px 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__buttons { flex-direction: column; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
}
