/* ============================================================
   ROCKFIREPRO LTD — Website Stylesheet
   ============================================================ */

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

:root {
  --navy:   #000000;
  --navy2:  #0d0d0d;
  --orange: #000000;
  --orange2:#222222;
  --light:  #f4f4f4;
  --mid:    #cccccc;
  --dark:   #000000;
  --text:   #111111;
  --muted:  #555555;
  --white:  #ffffff;
  --font:   'Segoe UI', Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,0.18);
  --trans:  all 0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; }
img  { max-width: 100%; display: block; }
a    { color: var(--orange); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--orange2); }

/* --- Layout --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section    { padding: 72px 0; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: 1140px; margin: 0 auto; height: 70px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 42px; height: 42px; background: var(--orange);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.logo-text { line-height: 1.1; }
.logo-text strong { color: var(--white); font-size: 18px; letter-spacing: 0.5px; display: block; }
.logo-text span   { color: #aaaaaa; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }

nav ul { list-style: none; display: flex; gap: 4px; }
nav ul li a {
  color: #cccccc; font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius);
  letter-spacing: 0.3px; display: block;
}
nav ul li a:hover, nav ul li a.active {
  color: var(--white); background: rgba(255,255,255,0.15);
}
.nav-cta {
  background: var(--white) !important; color: var(--black, #000) !important;
  padding: 8px 20px !important; border-radius: var(--radius) !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #dddddd !important; color: #000 !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: #000000;
  color: var(--white); padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff; font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  line-height: 1.2; margin-bottom: 20px; color: var(--white);
}
.hero h1 span { color: #cccccc; }
.hero p { font-size: 17px; color: #cccccc; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; transition: var(--trans); cursor: pointer;
  text-align: center; white-space: nowrap;
}
.btn-primary { background: #000000; color: var(--white); font-weight: 700; }
.btn-primary:hover { background: #333333; color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.hero .btn-primary, .cta-band .btn-primary { background: var(--white); color: #000000; }
.hero .btn-primary:hover, .cta-band .btn-primary:hover { background: #dddddd; color: #000000; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.2); }
.btn-outline { border: 2px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.12); color: var(--white); }

.hero-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 36px; backdrop-filter: blur(10px);
}
.hero-card h3 { color: #ffffff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hero-stat { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hero-stat:last-child { border-bottom: none; }
.hero-stat-icon { font-size: 28px; }
.hero-stat-text strong { display: block; color: var(--white); font-size: 17px; }
.hero-stat-text span  { color: #aaaaaa; font-size: 13px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--orange); padding: 0; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1140px; margin: 0 auto;
}
.stat-item { padding: 28px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-size: 30px; color: var(--white); font-weight: 700; }
.stat-item span   { font-size: 13px; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-label {
  display: inline-block; color: var(--orange); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(24px, 3vw, 38px); color: var(--navy); margin-bottom: 14px; }
.section-header p  { color: var(--muted); font-size: 16px; }

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border: 1px solid var(--mid); border-radius: 10px;
  padding: 32px 28px; transition: var(--trans); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--orange); transform: scaleX(0); transition: var(--trans); transform-origin: left;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 38px; margin-bottom: 18px; }
.service-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.service-card p  { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Full-width services list */
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--light); border-radius: 10px; padding: 24px;
  border-left: 4px solid var(--orange);
}
.service-item-icon { font-size: 32px; flex-shrink: 0; }
.service-item h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.service-item p  { color: var(--muted); font-size: 14px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { background: var(--light); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--white); border-radius: 10px; padding: 28px 22px; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: var(--trans);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-icon { font-size: 40px; margin-bottom: 14px; }
.why-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.why-card p  { font-size: 13px; color: var(--muted); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white); text-align: center; padding: 72px 24px;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 36px); margin-bottom: 14px; }
.cta-band p  { color: #cccccc; margin-bottom: 32px; font-size: 16px; }
.cta-band .btn-primary { font-size: 16px; padding: 16px 40px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { background: var(--navy); color: var(--white); padding: 80px 0 60px; text-align: center; }
.about-hero h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.about-hero p { color: #a0bcd8; font-size: 17px; max-width: 580px; margin: 0 auto; }
.page-hero { background: var(--navy); color: var(--white); padding: 60px 0; text-align: center; }
.page-hero .breadcrumb { color: #aaaaaa; font-size: 13px; margin-bottom: 10px; }
.page-hero .breadcrumb a { color: #ffffff; }
.page-hero h1 { font-size: clamp(26px, 3.5vw, 42px); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 30px; color: var(--navy); margin-bottom: 16px; }
.about-text p  { color: var(--muted); margin-bottom: 14px; font-size: 15px; line-height: 1.8; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.highlight {
  display: flex; align-items: center; gap: 10px;
  background: var(--light); border-radius: var(--radius); padding: 12px 16px;
}
.highlight span { color: var(--orange); font-size: 20px; }
.highlight p { font-size: 14px; color: var(--text); font-weight: 500; margin: 0; }

.about-image-placeholder {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border-radius: 12px; padding: 52px 36px; color: var(--white); text-align: center;
  border: 1px solid #333333;
}
.about-image-placeholder .big-icon { font-size: 80px; margin-bottom: 20px; }
.about-image-placeholder h3 { font-size: 20px; margin-bottom: 8px; }
.about-image-placeholder p  { color: #aaaaaa; font-size: 14px; }

.accreditations { background: var(--light); }
.accred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.accred-card {
  background: var(--white); border-radius: 10px; padding: 30px; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.accred-card .accred-icon { font-size: 44px; margin-bottom: 14px; }
.accred-card h3 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.accred-card p  { color: var(--muted); font-size: 13px; }

/* Team card */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white); border: 1px solid var(--mid); border-radius: 10px;
  padding: 32px 24px; text-align: center; transition: var(--trans);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 16px;
}
.team-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.team-card .role { color: var(--orange); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.team-card p { color: var(--muted); font-size: 14px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 52px; }
.contact-info h2 { color: var(--navy); font-size: 26px; margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 30px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px;
}
.contact-item-icon {
  width: 46px; height: 46px; background: var(--orange); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  flex-shrink: 0;
}
.contact-item h4 { color: var(--navy); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 15px; }
.contact-item a:hover { color: var(--orange); }

.contact-form-wrap {
  background: var(--light); border-radius: 12px; padding: 40px;
}
.contact-form-wrap h3 { color: var(--navy); font-size: 22px; 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: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--mid);
  border-radius: var(--radius); font-size: 15px; font-family: var(--font);
  background: var(--white); color: var(--text); transition: var(--trans);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: #000000; box-shadow: 0 0 0 3px rgba(0,0,0,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  width: 100%; background: var(--orange); color: var(--white);
  border: none; padding: 16px; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; cursor: pointer; transition: var(--trans);
}
.btn-submit:hover { background: var(--orange2); transform: translateY(-1px); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark); color: #aaaaaa; padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #888888; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #888888; font-size: 14px; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col address { font-style: normal; font-size: 14px; color: #888888; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; text-align: center;
  font-size: 13px; color: #666666;
}
.footer-bottom a { color: #888888; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  section { padding: 52px 0; }
  .hero { padding: 60px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-placeholder { display: none; }
  .accred-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy2); padding: 16px; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 4px; }
  .hamburger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .about-highlights { grid-template-columns: 1fr; }
}
