/* =========================================
   JANSI ROOFING PRODUCT — PREMIUM REDESIGN
   Palette: Deep Crimson #b91c1c, Gold #d97706
            Near-Black #0a0a0a, Off-White #faf7f2
   Fonts: Teko (headings), DM Sans (body)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Teko:wght@400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Bebas+Neue&display=swap');

:root {
  --red: #226039;
  --red-dark: hwb(153 22% 51%);
  --red-light: #36723f;

  --gold: #000000;
  --gold-light: #ffc001;

  --black: #ffffff;
  --dark: #f3f4f6;
  --dark2: #ffffff;
  --dark3: #e5e7eb;

  --border: rgba(0,0,0,0.08);

  --white: #ffffff;
  --muted: #6b7280;

  --body-bg: #ffffff;
  --text: #111827;

  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-red: 0 6px 20px rgba(220,38,38,0.2);

  --radius: 2px;
  --trans: 0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--body-bg); color: var(--text); overflow-x: hidden; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--red); }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* === TOP BAR === */
.top-bar {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 60px;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(185,28,28,0.3);
}

/* === HEADER === */
.corporate-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: stretch; height: 80px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.logo-block {
  width: 38%; background: var(--dark);
  display: flex; align-items: center;
  padding: 0 36px 0 60px; gap: 14px;
  border-right: 2px solid var(--red); flex-shrink: 0;
}
.logo-block img { height: 48px; object-fit: contain; flex-shrink: 0; }
.logo-block h1 {
  font-family: 'Teko', sans-serif;
  font-size: 19px; font-weight: 600;
  color: var(--white); letter-spacing: 1.5px;
  line-height: 1.15; text-transform: uppercase;
}
.logo-block h1 span {
  display: block; font-size: 10px;
  font-family: 'DM Sans', sans-serif; font-weight: 400;
  color: var(--gold-light); letter-spacing: 3px;
  text-transform: uppercase; margin-top: 2px;
}
.corporate-nav {
  flex: 1; background: var(--red);
  display: flex; align-items: center;
  justify-content: center; gap: 2px; padding: 0 20px;
  position: relative; overflow: hidden;
}
.corporate-nav::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(255,255,255,0.03) 100px, rgba(255,255,255,0.03) 101px);
}
.corporate-nav a {
  position: relative; color: rgba(255,255,255,0.88);
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  font-size: 14px; letter-spacing: 0.3px;
  padding: 10px 16px; border-radius: var(--radius);
  transition: var(--trans); white-space: nowrap; z-index: 1;
}
.corporate-nav a::after {
  content: ''; position: absolute;
  bottom: 6px; left: 16px; right: 16px;
  height: 1.5px; background: var(--gold-light);
  transform: scaleX(0); transition: transform 0.3s ease;
}
.corporate-nav a:hover, .corporate-nav a.active { color: #fff; background: rgba(0,0,0,0.15); }
.corporate-nav a:hover::after, .corporate-nav a.active::after { transform: scaleX(1); }
.nav-btn {
  background: var(--gold) !important; color: var(--black) !important;
  font-weight: 700 !important; padding: 9px 20px !important;
}
.nav-btn::after { display: none !important; }
.nav-btn:hover { background: var(--gold-light) !important; box-shadow: 0 4px 16px rgba(217,119,6,0.4) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin: auto 16px auto auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--trans); }

/* === PAGE BANNER === */
.page-banner {
  background: var(--dark); padding: 80px 60px 60px;
  position: relative; overflow: hidden;
  border-bottom: 3px solid var(--red);
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(185,28,28,0.12) 0%, transparent 60%),
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.01) 30px, rgba(255,255,255,0.01) 31px);
}
.page-banner::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 60px solid rgba(185,28,28,0.08);
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner-tag {
  display: inline-block; font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px;
  padding: 4px 14px; border: 1px solid rgba(251,191,36,0.3);
  background: rgba(251,191,36,0.06); border-radius: 2px;
}
.page-banner h1 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(52px, 8vw, 96px); font-weight: 600;
  color: var(--white); line-height: 0.92;
  letter-spacing: 1px; text-transform: uppercase;
}
.page-banner h1 em { font-style: normal; color: var(--red-light); }

/* === HERO (HOME) === */
.hero { display: grid; grid-template-columns: 58% 42%; min-height: 90vh; }
.hero-left {
  background: url('images/hero.jpg') center/cover no-repeat;
  position: relative; display: flex;
  flex-direction: column; justify-content: flex-end;
  padding: 80px 70px; overflow: hidden;
}
.hero-left::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.15) 100%);
}
.hero-left::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--red), var(--gold));
}
.hero-overlay { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 22px;
}
.hero-badge::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--gold-light); }
.hero-left h1 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(44px, 6vw, 78px); font-weight: 600;
  color: var(--white); line-height: 0.95;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
}
.hero-left h1 span { color: var(--red-light); }
.hero-left p {
  color: rgba(255,255,255,0.8); font-size: 16px;
  line-height: 1.75; max-width: 460px;
  margin-bottom: 36px; font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero {
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: 0.5px;
  padding: 14px 30px; border-radius: var(--radius);
  transition: var(--trans); cursor: pointer; border: none; display: inline-block;
}
.btn-primary-hero { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary-hero:hover { background: var(--red-light); transform: translateY(-2px); }
.btn-outline-hero { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-hero:hover { border-color: var(--gold-light); color: var(--gold-light); }

.hero-right { background: var(--dark); display: flex; flex-direction: column; }
.hero-card {
  flex: 1; padding: 34px 38px; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 20px;
  transition: var(--trans); position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--red);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s ease;
}
.hero-card:hover { background: var(--dark2); }
.hero-card:hover::before { transform: scaleY(1); }
.hero-card-icon {
  width: 50px; height: 50px;
  background: rgba(185,28,28,0.12); border: 1px solid rgba(185,28,28,0.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.hero-card h3 {
  font-family: 'Teko', sans-serif; font-size: 22px; font-weight: 600;
  color: var(--white); letter-spacing: 0.5px; margin-bottom: 6px;
}
.hero-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.hero-cta {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: 42px 38px; flex-shrink: 0; position: relative; overflow: hidden;
}
.hero-cta::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  border: 30px solid rgba(255,255,255,0.06);
}
.hero-cta h3 {
  font-family: 'Teko', sans-serif; font-size: 26px; font-weight: 600;
  color: var(--white); letter-spacing: 0.5px; margin-bottom: 10px;
}
.hero-cta p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 22px; }
.cta-btn {
  display: inline-block; background: var(--gold); color: var(--black);
  font-weight: 700; font-size: 13px; letter-spacing: 0.5px;
  padding: 11px 22px; border-radius: var(--radius); transition: var(--trans);
}
.cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(217,119,6,0.4); }

/* === STATS STRIP === */
.stats-strip {
  background: var(--red); padding: 48px 60px;
  position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(255,255,255,0.04) 100px, rgba(255,255,255,0.04) 101px);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: 1000px; margin: 0 auto; position: relative;
}
.stat-item { text-align: center; padding: 8px 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Teko', sans-serif; font-size: 54px; font-weight: 600; color: #fff; line-height: 1; }
.stat-unit { font-size: 24px; color: rgba(255,255,255,0.7); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 6px; letter-spacing: 0.5px; }

/* === WHY SECTION === */
.why-section {
  padding: 100px 60px; background: var(--dark);
  position: relative; overflow: hidden;
}
.why-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent);
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold-light);
  padding: 5px 16px; border: 1px solid rgba(251,191,36,0.3);
  background: rgba(251,191,36,0.06); margin-bottom: 18px; border-radius: 2px;
}
.section-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(36px, 5vw, 58px); font-weight: 600;
  text-transform: uppercase; line-height: 0.95;
  letter-spacing: 0.5px; color: var(--white);
}
.section-title em { font-style: normal; color: var(--red-light); }
.section-title.dark-txt { color: var(--dark); }
.section-title.dark-txt em { color: var(--red); }
.section-sub { font-size: 15px; color: var(--muted); margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.why-card {
  background: var(--dark2); border: 1px solid var(--border);
  padding: 44px 36px; position: relative;
  transition: var(--trans); overflow: hidden;
}
.why-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transition: transform 0.4s ease;
}
.why-card:hover { background: var(--dark3); transform: translateY(-6px); border-color: rgba(185,28,28,0.3); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 64px; height: 64px; background: rgba(185,28,28,0.1);
  border: 1.5px solid rgba(185,28,28,0.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 24px;
}
.why-card h3 {
  font-family: 'Teko', sans-serif; font-size: 26px; font-weight: 600;
  color: var(--white); letter-spacing: 0.5px; margin-bottom: 12px;
}
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.why-num {
  position: absolute; top: 20px; right: 24px;
  font-family: 'Bebas Neue', cursive; font-size: 72px;
  color: rgba(255,255,255,0.03); line-height: 1; pointer-events: none;
}

/* === PRODUCTS === */
.products-section { padding: 100px 60px; background: var(--body-bg); }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: #e5e7eb;
  border: 2px solid #e5e7eb; max-width: 1100px; margin: 0 auto;
}
.product-card {
  background: var(--white); overflow: hidden;
  transition: var(--trans); position: relative;
  min-height: 300px;
  display: flex; flex-direction: column;
}
.product-card:hover { z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,0.12); transform: scale(1.01); }
.product-img-wrap { height: 200px; overflow: hidden; position: relative; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.04) 100%);
}
.product-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.product-tag { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 8px; }
.product-body h3 { font-family: 'Teko', sans-serif; font-size: 26px; font-weight: 600; color: var(--dark); margin-bottom: 10px; }
.product-body p { font-size: 14px; color: #6b7280; line-height: 1.7; flex: 1; }
.product-enquire {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 13px; font-weight: 600;
  color: var(--red); transition: gap 0.3s ease;
}
.product-enquire:hover { gap: 10px; }

/* === ABOUT === */
.about-section { padding: 100px 60px; background: var(--body-bg); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1100px; margin: 0 auto; }
.about-label {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.about-label::before { content: ''; display: inline-block; width: 28px; height: 1.5px; background: var(--red); }
.about-text h2 {
  font-family: 'Teko', sans-serif; font-size: clamp(40px, 5vw, 60px); font-weight: 600;
  text-transform: uppercase; line-height: 0.95; color: var(--dark); margin-bottom: 24px;
}
.about-text h2 span { color: var(--red); }
.about-text p { font-size: 15px; line-height: 1.8; color: #4b5563; margin-bottom: 18px; }
.about-text p strong { color: var(--dark); font-weight: 600; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.mv-card { padding: 22px; border-left: 3px solid var(--red); background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.mv-card h3 { font-family: 'Teko', sans-serif; font-size: 20px; font-weight: 600; color: var(--dark); margin-bottom: 8px; letter-spacing: 0.3px; }
.mv-card p { font-size: 13px; color: #6b7280; line-height: 1.6; }
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; border-radius: 4px; box-shadow: var(--shadow); }
.about-image-wrap::before {
  content: ''; position: absolute; top: -16px; right: -16px; bottom: 16px; left: 16px;
  border: 2px solid rgba(185,28,28,0.2); border-radius: 4px; pointer-events: none; z-index: -1;
}
.about-badge {
  position: absolute; bottom: -16px; left: -16px;
  background: var(--red); color: white;
  padding: 22px 28px; box-shadow: var(--shadow-red);
}
.about-badge strong { display: block; font-family: 'Teko', sans-serif; font-size: 40px; font-weight: 600; line-height: 1; }
.about-badge span { font-size: 12px; letter-spacing: 1px; opacity: 0.85; }

/* === GALLERY === */
.gallery-section { padding: 100px 60px; background: var(--dark); }
.gallery-category { margin-bottom: 60px; }
.gallery-category-label { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.gallery-category-label h2 { font-family: 'Teko', sans-serif; font-size: 32px; font-weight: 600; color: var(--white); text-transform: uppercase; }
.gallery-category-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.gallery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery-box { overflow: hidden; position: relative; height: 280px; }
.gallery-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-box:hover img { transform: scale(1.06); }
.gallery-box::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
}
.gallery-box:hover::after { opacity: 1; }

/* === CONTACT === */
.contact-section { padding: 100px 60px; background: var(--body-bg); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: 1100px; margin: 0 auto; }
.contact-info h2 { font-family: 'Teko', sans-serif; font-size: clamp(38px, 5vw, 56px); font-weight: 600; text-transform: uppercase; line-height: 0.95; color: var(--dark); margin-bottom: 10px; }
.contact-info h2 span { color: var(--red); }
.contact-info > p { font-size: 15px; color: #6b7280; margin-bottom: 40px; margin-top: 12px; line-height: 1.7; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; border-bottom: 1px solid #e5e7eb; }
.contact-item:first-of-type { border-top: 1px solid #e5e7eb; }
.contact-icon-box {
  width: 44px; height: 44px; background: rgba(185,28,28,0.08);
  border: 1px solid rgba(185,28,28,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-item h4 { font-family: 'Teko', sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0.5px; color: var(--dark); margin-bottom: 3px; text-transform: uppercase; }
.contact-item p { font-size: 14px; color: #4b5563; line-height: 1.6; }
.contact-item a { color: var(--red); text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--red-light); }
.md-card { background: var(--dark); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.md-card-img { width: 100%; height: 360px; object-fit: cover; object-position: top; }
.md-card-body { padding: 28px 32px; background: var(--dark2); border-top: 3px solid var(--red); }
.md-card-body h3 { font-family: 'Teko', sans-serif; font-size: 30px; font-weight: 600; color: var(--white); letter-spacing: 0.5px; }
.md-card-body p { font-size: 12px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }
.map-section { padding: 0 60px 100px; background: var(--body-bg); }
.map-section h2 { font-family: 'Teko', sans-serif; font-size: 36px; font-weight: 600; text-transform: uppercase; color: var(--dark); margin-bottom: 24px; letter-spacing: 0.5px; }
.map-section iframe { border-radius: 4px; box-shadow: var(--shadow); border: none; }

/* === ENQUIRY === */
.enquiry-section { padding: 100px 60px; background: var(--dark); position: relative; overflow: hidden; }
.enquiry-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.enquiry-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; max-width: 1100px; margin: 0 auto; }
.enquiry-info .section-title { text-align: left; }
.enquiry-info > p { font-size: 15px; color: var(--muted); margin-top: 16px; line-height: 1.7; margin-bottom: 40px; }
.enquiry-contact-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--white); }
.enquiry-contact-item:first-child { border-top: 1px solid var(--border); }
.enquiry-contact-item span:first-child { font-size: 18px; }
.form-card { background: var(--dark2); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.form-card-header { background: var(--red); padding: 24px 32px; }
.form-card-header h3 { font-family: 'Teko', sans-serif; font-size: 28px; font-weight: 600; color: #fff; letter-spacing: 1px; }
.form-card-header p { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 4px; }
.form-card form { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 13px 16px;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  outline: none; transition: var(--trans);
}
.form-card input::placeholder, .form-card textarea::placeholder { color: #4b5563; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(185,28,28,0.1); }
.form-card textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  background: var(--red); color: #fff; border: none;
  padding: 16px; width: 100%;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  letter-spacing: 0.5px; border-radius: var(--radius); cursor: pointer; transition: var(--trans); margin-top: 4px;
}
.form-submit:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: var(--shadow-red); }

/* === FOOTER === */
footer {
  background: var(--black);
  border-top: 3px solid var(--red);
}
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 64px 60px 48px; }
.footer-brand-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand-logo img { height: 44px; }
.footer-brand-logo strong { font-family: 'Teko', sans-serif; font-size: 18px; color: var(--white); letter-spacing: 1.5px; text-transform: uppercase; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 300px; }
.footer-col h4 { font-family: 'Teko', sans-serif; font-size: 18px; font-weight: 600; color: var(--white); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--muted); transition: var(--trans); }
.footer-col ul li a:hover { color: var(--red-light); padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 60px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--gold-light); }
.footer-wa { display: inline-flex; align-items: center; gap: 6px; background: rgba(37,211,102,0.15); border: 1px solid rgba(37,211,102,0.3); color: #25D366; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; transition: var(--trans); }
.footer-wa:hover { background: rgba(37,211,102,0.25); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: #25D366; color: white;
  padding: 13px 22px; border-radius: 50px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: var(--trans);
  display: flex; align-items: center; gap: 8px;
}
.whatsapp-float::before { content: '💬'; font-size: 16px; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { opacity: 0; animation: fadeUp 0.65s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { min-height: 70vh; padding: 60px 40px; }
  .hero-right { flex-direction: row; flex-wrap: wrap; }
  .hero-card { flex: 1; min-width: 200px; }
  .about-container, .contact-layout, .enquiry-inner { grid-template-columns: 1fr; gap: 48px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar { padding: 8px 20px; font-size: 12px; }
  .logo-block { padding: 0 20px; width: auto; flex: 1; }
  .logo-block h1 { font-size: 15px; }
  .corporate-nav { display: none; width: 100%; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; padding: 16px; z-index: 999; gap: 4px; border-top: 1px solid rgba(255,255,255,0.1); }
  .corporate-nav.open { display: flex; }
  .hamburger { display: flex; }
  .corporate-header { flex-wrap: wrap; height: auto; min-height: 70px; position: sticky; top: 0; z-index: 1000; }
  .hero-left { padding: 48px 24px; }
  .page-banner { padding: 80px 24px 52px; }
  .about-section, .products-section, .gallery-section, .contact-section, .enquiry-section, .why-section { padding: 64px 24px; }
  .map-section { padding: 0 24px 64px; }
  .stats-strip { padding: 40px 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: 1fr; }
  .gallery-box { height: 220px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding: 48px 24px 32px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; text-align: center; }
  .mission-vision { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .enquiry-inner { grid-template-columns: 1fr; gap: 48px; }
}
/* === TEXT CONTRAST FIXES === */

/* Light background sections */
.hero-card h3,
.hero-card p,
.section-title,
.why-card h3,
.why-card p,
.product-body h3,
.product-body p,
.about-text h2,
.about-text p,
.contact-info h2,
.contact-info p {
  color: var(--text);
}

/* Muted text */
.section-sub,
.product-body p,
.contact-item p {
  color: var(--muted);
}

/* Keep white ONLY on dark backgrounds */
.hero-left h1,
.hero-left p,
.hero-cta h3,
.hero-cta p {
  color: #ffffff;
}

/* =========================================
   GLOBAL TEXT CONTRAST FIX (ALL PAGES)
   No layout changes — only color correction
   ========================================= */

/* Default readable text */
body,
p,
span,
li,
small {
  color: var(--text);
}

/* Headings on light backgrounds */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-card h3,
.why-card h3,
.product-body h3,
.about-text h2,
.contact-info h2,
.gallery-category-label h2 {
  color: var(--text);
}

/* Paragraph / secondary text */
.hero-card p,
.why-card p,
.product-body p,
.about-text p,
.contact-info p,
.contact-item p,
.section-sub {
  color: var(--muted);
}

/* Fix form input text visibility */
.form-card input,
.form-card textarea,
.form-card select {
  color: var(--text);
}

/* DARK BACKGROUND AREAS (keep white text) */
.hero-left h1,
.hero-left p,
.hero-cta h3,
.hero-cta p,
.stats-strip,
.stats-strip * {
  color: #ffffff;
}

/* Navigation (red background) */
.corporate-nav a {
  color: rgba(255,255,255,0.9);
}

/* Footer (dark section) */
footer,
footer * {
  color: rgba(255,255,255,0.85);
}

/* ===== FADED HEADING VISIBILITY FIX ===== */

/* Big background text (like "QUALITY MATERIALS FOR") */
.section-title::before,
.section-title-bg,
.section-header h1:first-child,
.faded-text {
  color: rgba(0, 0, 0, 0.08) !important;
}

/* If it's using opacity */
.section-title span:first-child {
  opacity: 0.15 !important;
  color: #000 !important;
}

/* Target large faint headings */
.section-header h1 {
  color: rgba(0,0,0,0.08);
}

/* =========================================
   FINAL TEXT VISIBILITY FIX (STRONG OVERRIDE)
   ========================================= */

/* FORCE DARK TEXT ON LIGHT BACKGROUNDS */
.hero-card h3,
.why-card h3,
.section-title,
.product-body h3,
.about-text h2,
.contact-info h2,
.gallery-category-label h2,
.page-banner h1 {
  color: #111827 !important;
}

/* PARAGRAPH TEXT */
.hero-card p,
.why-card p,
.product-body p,
.about-text p,
.contact-info p,
.contact-item p,
.section-sub {
  color: #4b5563 !important;
}

/* FIX FADED BIG BACKGROUND TEXT */
.section-header h1:first-child,
.section-title-bg,
.faded-text {
  color: rgba(0,0,0,0.12) !important;  /* increased visibility */
}

/* REMOVE TOO-LOW OPACITY */
.section-title span:first-child {
  opacity: 0.25 !important;
  color: #000 !important;
}

/* FORM TEXT FIX */
.form-card input,
.form-card textarea,
.form-card select {
  color: #111827 !important;
}

/* KEEP WHITE ONLY WHERE NEEDED */
.hero-left h1,
.hero-left p,
.hero-cta h3,
.hero-cta p,
.stats-strip,
.stats-strip * {
  color: #ffffff !important;
}

/* NAV (keep white) */
.corporate-nav a {
  color: rgba(255,255,255,0.9) !important;
}

/* FOOTER (keep white) */
footer,
footer * {
  color: rgba(255,255,255,0.85) !important;
}
/* =========================================
   FINAL TEXT DARKEN FIX (SPECIFIC ELEMENTS)
   ========================================= */

/* Header company name */
.logo-block h1 {
  color: #111827 !important;
}

/* Small tagline under logo */
.logo-block h1 span {
  color: #d97706 !important; /* keep gold but visible */
}

/* Managing Director label (right card bottom text) */
.md-card-body p,
.md-card-body small,
.md-card-body span {
  color: #4b5563 !important;
}

/* Contact labels like PHONE, EMAIL, ADDRESS */
.contact-item h4 {
  color: #111827 !important;
}

/* Contact values (like name, address etc.) */
.contact-item p {
  color: #374151 !important;
}

/* Extra safety: any faded uppercase labels */
.enquiry-contact-item,
.section-tag,
.page-banner-tag {
  color: #6b7280 !important;
}
/* ===== FIX FADED "ENQUIRY" TEXT ===== */

.section-header h1:first-child,
.enquiry-section h1:first-child,
.faded-text,
.success-hero h1:first-child {
  color: rgba(0, 0, 0, 0.15) !important; /* increase visibility */
  opacity: 1 !important;
}
.success-hero h1:first-child {
  color: rgba(0, 0, 0, 0.18) !important;
}
.why-card:hover,
.product-card:hover,
.hero-card:hover {
  transform: translateY(-6px);
  transition: 0.3s ease;
}
.quick-contact {
  margin: 50px auto;
  max-width: 1000px;
  text-align: center;
  padding: 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
}ss

.quick-contact strong {
  color: #111827;
}

.quick-contact a {
  color: #429460;
  font-weight: 600;
}

.quick-contact a:hover {
  text-decoration: underline;
}
.company-info {
  padding: 60px 40px;
  background: #f9fafb;
  border-top: 2px solid #3c8748;
}

.company-info-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.info-box h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #111827;
}

.info-box p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.info-box a {
  color: #dc2626;
  font-weight: 600;
}

.info-box a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .company-info-container {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   FINAL TEXT DARK FIX (MISSION / LOCATION)
   ========================================= */

/* Fix faded headings like "Our Mission", "Our Vision", "Our Location" */
.mv-card h3,
.gallery-category-label h2,
.map-section h2,
.section-header h2,
.section-header h1 {
  color: #111827 !important;
  opacity: 1 !important;
}

/* Fix faded background text behind headings */
.section-title::before,
.section-header h1:first-child {
  color: rgba(0,0,0,0.12) !important;
  opacity: 1 !important;
}

/* Paragraph text inside cards */
.mv-card p,
.about-text p {
  color: #4b5563 !important;
}

/* Ensure ALL text inside about section is readable */
.about-section * {
  color: inherit;
}

/* Fix location title */
.map-section h2 {
  color: #111827 !important;
}

/* Extra safety: remove any unwanted low opacity */
h1, h2, h3, h4 {
  opacity: 1 !important;
}
/* =========================================
   FIX FADED INLINE TEXT (years / name)
   ========================================= */

/* Fix faded inline highlights */
.about-text strong,
.about-text span,
.about-text em {
  color: #111827 !important;
  opacity: 1 !important;
  font-weight: 600;
}

/* Specifically fix light grey inline text */
.about-text {
  color: #374151 !important;
}

/* Paragraph readability */
.about-text p {
  color: #4b5563 !important;
  opacity: 1 !important;
}
.product-scroll {
  display: flex;
  flex-direction: row;      /* ✅ horizontal */
  gap: 10px;
  overflow-x: auto;         /* ✅ horizontal scroll */
  overflow-y: hidden;
  margin: 10px 0;
  padding-bottom: 5px;
}

/* Image styling */
.product-scroll img {
  height: 100px;            /* consistent size */
  width: auto;
  flex-shrink: 0;           /* prevent shrinking */
  object-fit: cover;
  border-radius: 4px;
}

/* Scrollbar */
.product-scroll::-webkit-scrollbar {
  height: 5px;
}

.product-scroll::-webkit-scrollbar-thumb {
  background: #dc2626;
  border-radius: 4px;
}
.product-card {
  min-height: 300px;
}
.product-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 10px 0;
}

.product-scroll img {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 🔥 FIX */
  gap: 20px;
}
/* CENTER IMAGE */
.product-scroll {
  display: flex;
  justify-content: center;   /* 🔥 center horizontally */
  align-items: center;
  margin: 15px 0;
}

/* IMAGE SIZE FIX */
.product-scroll img {
  height: 180px;        /* 🔥 bigger */
  width: auto;
  object-fit: contain;
  display: block;
}
/* ===== GLOBAL SPACE FIX (ALL PAGES) ===== */

/* Remove unwanted page height */
html, body {
  height: auto !important;
  min-height: auto !important;
  margin: 0;
  padding: 0;
}

/* Remove extra bottom spacing from sections */
section {
  min-height: auto !important;
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Specific sections fix */
.contact-section,
.about-section,
.products-section,
.gallery-section,
.enquiry-section,
.map-section {
  padding-bottom: 40px !important; /* keep neat spacing */
  margin-bottom: 0 !important;
}

/* Remove extra space after last section */
body > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Fix footer spacing */
footer {
  margin-top: 0 !important;
}

.map-section {
  display: none !important;
}
/* ===== REMOVE BOTTOM EMPTY SPACE (FINAL FIX) ===== */

body {
  margin: 0 !important;
  padding: 0 !important;
}

.company-info {
  margin-bottom: 0 !important;
  padding-bottom: 30px !important;
}

footer {
  margin-top: 0 !important;
  padding-top: 30px !important;
}

/* Remove any accidental extra space */
body::after {
  content: none !important;
  display: none !important;
}
/* ===== REMOVE FORCED HEIGHT ===== */

.company-info {
  min-height: auto !important;
  height: auto !important;
}

/* Remove extra spacing */
.company-info-container {
  padding-bottom: 20px !important;
}

/* Ensure footer comes immediately */
footer {
  margin-top: 0 !important;
}

/* Safety fix for ALL sections */
section {
  min-height: auto !important;
}
.bottom-cta {
  background: #ffffff;
  text-align: center;
  padding: 60px 20px 70px;
  border-top: 2px solid #e5e7eb;
}

.bottom-cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.bottom-cta h2 {
  font-family: 'Teko', sans-serif;
  font-size: 42px;
  color: #111827;
  margin-bottom: 10px;
}

.bottom-cta p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 30px;
}

.bottom-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.bottom-cta-buttons a {
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.cta-call { background: #111827; color: #fff; }
.cta-whatsapp { background: #25D366; color: #fff; }
.cta-enquiry { background: #dc2626; color: #fff; }

/* ===== REMOVE EXTRA BOTTOM SPACE GLOBALLY ===== */

/* remove forced full-height sections */
section {
  min-height: auto !important;
  height: auto !important;
}

/* remove extra bottom spacing */
section:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* fix footer gap */
footer {
  margin-top: 0 !important;
}

/* prevent body stretching */
html, body {
  height: auto !important;
  min-height: auto !important;
}

/* ===== CLEAN FINAL SPACING FIX ===== */

/* Remove forced heights */
section {
  min-height: auto;
  height: auto;
}

/* Normal consistent spacing */
.contact-section,
.about-section,
.products-section,
.gallery-section,
.enquiry-section,
.map-section,
.company-info,
.bottom-cta {
  padding-bottom: 40px;
}

/* Remove extra gap before footer */
footer {
  margin-top: 0;
}

/* Remove unwanted map completely (optional) */
.map-section {
  display: none;
}

/* ===== FIX INVISIBLE TEXT ISSUE ===== */

/* Footer main text */
footer,
.footer-main,
.footer-col,
.footer-col ul li,
.footer-col ul li a,
.footer-brand p {
  color: #111827 !important;   /* strong dark */
}

/* Footer headings */
.footer-col h4,
.footer-brand strong {
  color: #000000 !important;
}

/* Muted text → make visible */
.footer-col p,
.footer-col li,
.footer-bottom p {
  color: #374151 !important;
}

/* Links */
.footer-col a {
  color: #111827 !important;
}

.footer-col a:hover {
  color: #dc2626 !important;
}

/* Ensure no faded opacity */
footer * {
  opacity: 1 !important;
}

.hero-text-bg {
  position: relative;
  display: inline-block;
  padding: 20px;
}

/* IMAGE */
.hero-text-bg::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("images1/roofing2.jpg"); /* 🔥 CHANGE THIS */
  background-size: cover;
  background-position: center;

  opacity: 0.25;
  z-index: 0;
}

/* TEXT ABOVE */
.hero-text-bg h1 {
  position: relative;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 1;
}

/* IMAGE BEHIND TEXT */
.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("images1/roofing2.jpg"); /* ✅ your image */
  background-size: cover;
  background-position: center;

  opacity: 0.25; /* 🔥 adjust this (0.15–0.3) */
  z-index: -1;
}
.hero-left {
  position: relative;
  overflow: hidden;
}

/* MULTIPLE BACKGROUND IMAGES */
.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  animation: heroSlider 15s infinite;
  z-index: -1;
}

/* DARK OVERLAY FOR TEXT READABILITY */
.hero-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

/* SLIDE ANIMATION */
@keyframes heroSlider {
  0% {
    background-image: url("images1/roofing.jpg");
  }
 25% {
    background-image: url("images1/purlin.jpg");
  }
  50% {
    background-image: url("images1/gallery5.jpg");
  }
  75% {
    background-image: url("images1/Fixing.jpg");
  }
  100% {
    background-image: url("images1/gallery6.jpg");
  }
}