/* ============================================================
   VERITAS BUILDERS - MAIN STYLESHEET
   Base styles: variables, typography, layout, and components
   Theme Colors: Primary Blue, Gold Accent, White
   Font Family: Poppins, sans-serif
   ============================================================ */

/* ============================================================
   VERITAS BUILDERS - EMBEDDED STYLESHEET
   Theme Colors: Primary Blue (#0B3D91), Gold (#D4AF37), White (#FFFFFF)
   Font Family: Poppins, sans-serif
   ============================================================ */

:root {
  --primary-blue:#c7a645;
  --primary-blue-dark: orange;
  --primary-blue-light: #46546f;
  --accent-gold: #D4AF37;
  --accent-gold-hover: #b89528;
  --accent-gold-light: #fbf6e8;
  --bg-white: ffffff;
  --bg-slate: #f8fafc;
  --bg-dark: #0f172a;
  --text-dark: #ffdd00;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 20px -2px rgba(11, 61, 145, 0.08);
  --card-shadow-hover: 0 12px 30px -4px rgba(11, 61, 145, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #000;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #c88f00;
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.35);
}

/* Section Typography */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 8px;
  padding: 4px 14px;
  background-color: var(--accent-gold-light);
  border-radius: 30px;
}

.section-title {
  font-size: 32px;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--accent-gold);
  margin: 0 auto 16px auto;
  border-radius: 2px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* Header & Sticky Navbar */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-box {
  width: 60px;
  height: 40px;
  background-color: var(--primary-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 14px 50px rgba(11, 61, 145, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
  
}

.logo-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
  line-height: 1;
  text-transform: uppercase;
}

.logo-title span {
  color: var(--accent-gold);
}

.logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--primary-blue);
}

/* Mobile Drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  padding: 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border-color);
  z-index: 999;
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--bg-slate);
  color: var(--text-dark);
}

.mobile-nav-link:hover {
  color: var(--primary-blue);
  padding-left: 8px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: none;
  color: #ffffff;
  padding: 120px 0 140px 0;
  overflow: hidden;
}

/* Hero Background Video
   Hidden (opacity: 0) until assets/videos/hero-video.mp4 successfully loads
   (see js/script.js). Until then, the .hero-section background above is
   shown unchanged, so the page looks identical with or without a video file. */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-video-wrap.is-loaded {
  opacity: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 300;
}

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

/* Founder Section */
.founder-section {
  padding: 100px 0;
  background-color: var(--bg-slate);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.founder-photo-box {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--bg-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background-color: var(--bg-slate);
}

.founder-photo-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
}

.founder-info-box {
  display: flex;
  flex-direction: column;
}

.quote-icon {
  width: 44px;
  height: 44px;
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: 12px;
}

.founder-message {
  font-size: 18px;
  font-style: italic;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 28px;
}

.founder-signature-box {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 8px;
}

.signature-img {
  max-width: 220px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 12px;
}

.signature-fallback {
  font-family: 'Great Vibes', 'Alex Brush', cursive;
  font-size: 38px;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.founder-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
}

.founder-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold-hover);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.founder-company {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(212, 175, 55, 0.4);
}

.card-icon-wrap {
  width: 64px;
  height: 64px;
  background-color: rgba(11, 61, 145, 0.05);
  border: 1px solid rgba(11, 61, 145, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.about-card:hover .card-icon-wrap {
  background-color: var(--primary-blue);
  color: var(--accent-gold);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: var(--bg-slate);
}

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

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(212, 175, 55, 0.4);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(212, 175, 55, 0.12);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.service-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Project Section */
.project-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.project-card-large {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  background-color: var(--bg-white);
}

.project-image-wrap {
  position: relative;
  min-height: 100px;
  background-color: var(--bg-dark);
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--accent-gold);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project-info {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.project-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
}

.meta-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-blue);
  shrink: 0;
}

.project-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Why Choose Us Section */
.why-section {
  padding: 100px 0;
  background-color: var(--bg-slate);
}

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

.why-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Gallery Section */
.gallery-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

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

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  background-color: var(--bg-dark);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.gallery-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.gallery-cat {
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quotes Section */
.quotes-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: #ffffff;
}

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

.quote-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.quote-card-text {
  font-size: 16px;
  font-style: italic;
  color: #ffffff;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-slate);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(11, 61, 145, 0.06);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  shrink: 0;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 2px;
}

.contact-form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--card-shadow);
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-slate);
  color: var(--text-dark);
  transition: border-color 0.25s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: #ffffff;
}

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

/* Google Map Frame */
.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--accent-gold);
}

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

.footer-links a {
  color: var(--text-light);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 28px;
  left: 28px;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  display: none;
  font-size: 14px;
  font-weight: 500;
}

.toast.show {
  display: block;
  animation: fadeIn 0.3s ease;
}
