/* ===========================
   ProfiDrill – CSS
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --navy:   #0d1b2a;
  --blue:   #1a3a5c;
  --accent: #2091e8;
  --light:  #ecf0f4;
  --white:  #ffffff;
  --gray:   #6b7280;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 4px 32px rgba(0,0,0,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--light);
  color: var(--navy);
  overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: 'Barlow Condensed', sans-serif; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.navbar.scrolled { background: var(--navy); }

.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo .logo-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--navy);
}
.nav-logo .logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 900; color: var(--white);
  letter-spacing: 0.5px;
}
.nav-logo .logo-text span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
}
.nav-links a {
  display: block; padding: 8px 16px;
  color: rgba(255,255,255,0.75);
  font-weight: 500; font-size: 0.95rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 2px; left: 16px; right: 16px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: #1b4fd4 !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: var(--accent);
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/1.jpg');
  background-size: cover; background-position: center;
  opacity: 0.28;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.4) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 820px; padding: 0 5%; margin-top: 72px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(32, 155, 232, 0.15);
  border: 1px solid rgba(32, 182, 232, 0.4);
  color: var(--accent);
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  color: var(--white);
  animation: fadeUp 0.6s 0.15s ease both;
  text-transform: uppercase;
}
.hero h1 span { color: var(--accent); }

.hero-sub {
  margin: 1.5rem 0 1rem;
  font-size: 1.15rem; color: rgba(255,255,255,0.72);
  max-width: 560px; line-height: 1.7;
  font-weight: 300;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.45s ease both;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 6px;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent); color: var(--navy);
}
.btn-primary:hover { background: #1b4fd4; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(32, 105, 232, 0.35); }

.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); transform: translateY(-2px); }

.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex;
  background: rgba(13,27,42,0.88);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  z-index: 3;
}
.hero-stat {
  flex: 1; padding: 1.4rem 2rem;
  border-right: 1px solid var(--border);
  display: flex; align-items: center; gap: 1rem;
}
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-icon {
  font-size: 1.8rem; color: var(--accent);
}
.hero-stat .stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 900; color: var(--white);
}
.hero-stat .stat-label {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 5%; }
.section-dark { background: var(--navy); }
.section-mid { background: #d9e2e9; }

.section-header { margin-bottom: 3.5rem; }
.section-header .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}
.section-header .eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--accent);
}
.section-header h2 { color: var(--navy); }
.section-dark .section-header h2 { color: var(--white); }
.section-header p {
  margin-top: 1rem; max-width: 580px;
  color: var(--gray); line-height: 1.75; font-size: 1.05rem;
}
.section-dark .section-header p { color: rgba(255, 255, 255, 0.6); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

  


.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.service-card:hover::before { transform: scaleX(1); }

.service-card .card-icon {
  width: 56px; height: 56px;
  background: rgba(32, 129, 232, 0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent);
  margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: 0.6rem; color: var(--navy); }
.service-card p { color: var(--gray); line-height: 1.65; font-size: 0.95rem; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1.25rem; color: var(--accent); font-weight: 600; font-size: 0.9rem;
  transition: gap 0.2s;
}
.service-card:hover .card-link { gap: 10px; }

/* ===== WHY US ===== */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.why-images {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  position: relative;
}
.why-images img {
  border-radius: 10px; object-fit: cover; height: 220px; width: 100%;
}
.why-images img:first-child { grid-column: 1 / 3; height: 280px; }

.why-points { display: flex; flex-direction: column; gap: 1.5rem; }
.why-point {
  display: flex; gap: 1.25rem;
  padding: 1.5rem; border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.why-point:hover { background: rgba(255,255,255,0.08); }
.why-point .wp-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 8px; background: rgba(32, 145, 232, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--accent);
}
.why-point h4 { color: var(--white); margin-bottom: 0.3rem; font-size: 1.05rem; }
.why-point p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.6; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item {
  overflow: hidden; border-radius: 10px;
  cursor: pointer;
}
.gallery-item:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.06); }


/* ===== O-NAS GALLERY ===== */
.ons-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.ons-gallery-item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
}

.ons-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ons-gallery-item:hover img {
  transform: scale(1.06);
}

@media (max-width: 680px) {
  .ons-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== EQUIPMENT ===== */
.equipment-list {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.equipment-tag {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 30px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.equipment-tag i { color: var(--accent); }
.equipment-tag:hover { background: rgba(32, 125, 232, 0.12); color: var(--white); }

/* ===== COVERAGE ===== */
.coverage-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start;
}
.town-grid {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}
.town-tag {
  background: var(--white); border: 1px solid rgba(0,0,0,0.08);
  padding: 5px 14px; border-radius: 20px;
  font-size: 0.85rem; color: var(--navy);
  transition: background 0.2s, color 0.2s;
}
.town-tag:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.coverage-cta {
  background: var(--navy); border-radius: 16px; padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.coverage-cta h3 { color: var(--white); }
.coverage-cta p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.65; }
.coverage-cta .contact-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--white); font-weight: 500;
}
.coverage-cta .contact-item i { color: var(--accent); font-size: 1.1rem; width: 20px; text-align: center; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  min-height: 380px; position: relative;
  display: flex; align-items: flex-end;
  padding: 0 5% 4rem;
  background: var(--navy);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.2;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--navy) 30%, transparent);
}
.page-hero-content {
  position: relative; z-index: 2; margin-top: 72px;
}
.page-hero-content .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}
.page-hero-content h1 { color: var(--white); text-transform: uppercase; }
.page-hero-content p {
  margin-top: 1rem; max-width: 600px;
  color: rgba(255,255,255,0.65); font-size: 1.1rem; line-height: 1.7;
}

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  padding: 4rem 0; border-bottom: 1px solid rgba(0,0,0,0.07);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail img { border-radius: 12px; object-fit: cover; height: 380px; width: 100%; }
.service-detail .sd-eyebrow {
  color: var(--accent); font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem;
}
.service-detail h2 { color: var(--navy); margin-bottom: 1rem; }
.service-detail p { color: var(--gray); line-height: 1.75; margin-bottom: 1rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--navy); font-size: 0.95rem;
}
.feature-list li i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

/* ===== ABOUT PAGE ===== */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.team-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.team-card img { height: 280px; width: 100%; object-fit: cover; }
.team-card-body { padding: 1.5rem; }
.team-card-body h3 { color: var(--navy); }
.team-card-body .role { color: var(--accent); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin: 0.25rem 0 0.75rem; }
.team-card-body .contact-line {
  display: flex; align-items: center; gap: 8px;
  color: var(--gray); font-size: 0.9rem; margin-top: 0.4rem;
}
.team-card-body .contact-line i { color: var(--accent); width: 16px; }
.team-card-body .contact-line a:hover { color: var(--navy); }

.value-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  padding: 2rem; border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  text-align: center;
}
.value-card i { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; }
.value-card h3 { color: var(--white); margin-bottom: 0.5rem; }
.value-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.6; }

/* ===== CONTACT PAGE ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: var(--white); border-radius: 12px; padding: 2rem;
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.09); }
.contact-card .cc-icon {
  width: 54px; height: 54px; border-radius: 10px;
  background: rgba(32, 115, 232, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--accent);
  margin-bottom: 1.25rem;
}
.contact-card h3 { color: var(--navy); margin-bottom: 0.25rem; }
.contact-card .role { color: var(--accent); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; }
.contact-card a { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.95rem; margin-top: 0.5rem; transition: color 0.2s; }
.contact-card a:hover { color: var(--navy); }
.contact-card a i { color: var(--accent); width: 18px; }

.info-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.info-card {
  padding: 1.75rem; border-radius: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  text-align: center;
}
.info-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 0.75rem; }
.info-card h4 { color: var(--white); margin-bottom: 0.35rem; }
.info-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.5; }

/* ===== FOOTER ===== */
footer {
  background: #060e16;
  color: rgba(255,255,255,0.6);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem; padding: 4rem 5%;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo-text { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 900; color: var(--white); }
.footer-brand .logo-text span { color: var(--accent); }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-brand .social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-brand .social a {
  width: 38px; height: 38px; border-radius: 6px;
  background: rgba(255,255,255,0.07); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: background 0.2s, color 0.2s;
}
.footer-brand .social a:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }

.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-col .fi { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-col .fi i { color: var(--accent); margin-top: 2px; width: 16px; flex-shrink: 0; }

.footer-bottom {
  padding: 1.5rem 5%; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--navy); padding: 0.75rem 5%;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  margin-top: 1px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--white); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .why-grid, .coverage-grid, .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail.reverse { direction: ltr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:first-child { grid-column: auto; grid-row: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }

  .services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
}

@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 1rem; border-top: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 5%; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 60px 5%; }
}
