/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}


/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--off-white);
}
::-webkit-scrollbar-thumb {
  background: var(--maroon);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #5a0012;
}

:root {
  --maroon: #7A0019;
  --maroon-dark: #5a0013;
  --maroon-light: #9a1035;
  --white: #ffffff;
  --off-white: #f8f8f8;
  --light-gray: #e8e8e8;
  --mid-gray: #999;
  --dark-gray: #333;
  --text: #444;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--dark-gray); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--maroon);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { opacity: 0.8; }
.top-bar-contact { display: flex; gap: 20px; align-items: center; }
.top-bar-contact svg { width: 14px; height: 14px; fill: var(--white); margin-right: 5px; vertical-align: middle; }

/* ===== HEADER / NAV ===== */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--maroon);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.logo span { color: var(--dark-gray); font-weight: 400; }

.nav-list {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark-gray);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--maroon); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-hover);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  border-top: 3px solid var(--maroon);
}
.nav-list > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-gray);
  border-bottom: 1px solid var(--off-white);
}
.dropdown-menu a:hover {
  background: var(--maroon);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--dark-gray);
  margin: 6px 0;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, rgba(122, 0, 25, 0.85) 0%, rgba(66, 0, 13, 0.9) 100%), url('../images/slide1.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.03);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}
.hero h1 span { display: block; font-weight: 300; font-size: 28px; margin-top: 5px; letter-spacing: 2px; }
.hero p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 35px;
  line-height: 1.8;
  max-width: 500px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 35px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn-primary:hover {
  background: #5a0012;
  border-color: #5a0012;
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn:active {
  transform: scale(0.98);
}

  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(122,0,25,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--maroon);
}
.btn-outline-dark {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-outline-dark:hover {
  background: var(--maroon);
  color: var(--white);
}

/* ===== SECTION STYLES ===== */
.section { padding: 80px 0; }
.section-gray { background: var(--off-white); }
.section-maroon { background: var(--maroon); color: var(--white); }
.section-maroon h2, .section-maroon h3 { color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.section-header p {
  font-size: 15px;
  color: var(--mid-gray);
  max-width: 600px;
  margin: 0 auto;
}
.section-header .line {
  width: 60px;
  height: 3px;
  background: var(--maroon);
  margin: 15px auto 0;
}

/* ===== VALUE PILLARS ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pillar {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.pillar-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 30px; height: 30px; fill: var(--white); }
.pillar h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.pillar p { font-size: 14px; color: var(--mid-gray); margin-bottom: 20px; }

/* ===== SERVICE CARDS ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-card-img svg { width: 60px; height: 60px; fill: rgba(255,255,255,0.3); }
.service-card-body { padding: 25px; }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.service-card ul { margin-bottom: 15px; }
.service-card ul li {
  font-size: 13px;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
  color: var(--text);
}
.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--maroon);
  font-weight: 700;
}
.service-card p { font-size: 14px; color: var(--text); margin-bottom: 15px; }
.service-card .btn { font-size: 11px; padding: 10px 25px; }

/* ===== TESTIMONIALS ===== */
.testimonials-carousel { position: relative; overflow: hidden; max-width: 800px; margin: 0 auto; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-slide {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}
.testimonial-slide .quote-icon {
  font-size: 48px;
  color: var(--maroon);
  margin-bottom: 15px;
  line-height: 1;
  opacity: 0.3;
}
.testimonial-slide blockquote {
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 25px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-slide .author {
  font-weight: 700;
  font-size: 14px;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.testimonial-slide .role {
  font-size: 12px;
  color: var(--mid-gray);
  margin-top: 3px;
}
.carousel-controls { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }
.carousel-btn {
  width: 45px;
  height: 45px;
  border: 2px solid var(--maroon);
  background: transparent;
  color: var(--maroon);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover { background: var(--maroon); color: var(--white); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active { background: var(--maroon); }

/* ===== CASE STUDIES ===== */
.case-studies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-study-card {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.case-study-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.case-study-img {
  height: 200px;
  background: linear-gradient(135deg, var(--maroon-light), var(--maroon-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-study-img span {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 20px;
}
.case-study-body { padding: 25px; }
.case-study-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.case-study-body p { font-size: 14px; color: var(--text); margin-bottom: 15px; }

/* ===== ABOUT PAGE ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-text h2 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.about-intro-text p { margin-bottom: 15px; font-size: 15px; }
.about-image {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.guarantees { margin-top: 40px; }
.guarantees h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.guarantee-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: var(--off-white);
}
.guarantee-item .check {
  color: var(--maroon);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.guarantee-item p { font-size: 14px; }

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 5px;
}
.faq-question {
  width: 100%;
  padding: 20px;
  background: var(--white);
  border: none;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-gray);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { color: var(--maroon); }
.faq-question .icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: var(--maroon);
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 20px;
}
.faq-answer p { font-size: 14px; color: var(--text); line-height: 1.8; }

/* ===== FORMS ===== */
.form-section { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: var(--dark-gray);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--maroon);
  outline: none;
  box-shadow: 0 0 0 3px rgba(122,0,25,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-card {
  padding: 30px;
  background: var(--off-white);
  margin-bottom: 20px;
}
.contact-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--maroon);
}
.contact-info-card p { font-size: 14px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--maroon);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}
.cta-banner h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* ===== CAREERS ===== */
.careers-positions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0; }
.position-card {
  padding: 25px;
  background: var(--off-white);
  border-left: 4px solid var(--maroon);
}
.position-card h4 { font-size: 15px; font-weight: 600; color: var(--dark-gray); }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.page-header p {
  font-size: 15px;
  opacity: 0.8;
  margin-top: 10px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-gray);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.footer p { font-size: 13px; line-height: 1.8; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ===== TESTIMONIALS PAGE (full listing) ===== */
.testimonials-list { max-width: 800px; margin: 0 auto; }
.testimonial-card {
  padding: 30px;
  margin-bottom: 25px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--maroon);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); }
.testimonial-card blockquote {
  font-size: 15px;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--dark-gray);
}
.testimonial-card .author { font-weight: 700; font-size: 14px; color: var(--maroon); }
.testimonial-card .role { font-size: 12px; color: var(--mid-gray); }
/* ===== RECENT JOBS BANNER ===== */
.recent-jobs-ticker { 
  display: flex; 
  gap: 25px; 
  overflow-x: auto; 
  padding-bottom: 20px; 
  scrollbar-width: thin; 
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.recent-jobs-ticker::-webkit-scrollbar { height: 8px; }
.recent-jobs-ticker::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.recent-job-card.social-post {
  flex: 0 0 350px;
  background: var(--white);
  padding: 0;
  transition: var(--transition);
  color: var(--dark-gray);
  box-shadow: var(--shadow);
}
.recent-job-card.social-post:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.recent-job-card .job-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid var(--maroon);
}
.recent-job-card .post-content { padding: 25px; }
.recent-job-card .job-date { font-size: 12px; opacity: 0.7; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; color: var(--mid-gray); }
.recent-job-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--dark-gray); }
.recent-job-card .job-type { display: inline-block; background: var(--maroon); color: var(--white); padding: 4px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; border-radius: 20px; }
.recent-job-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.6; }


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero h1 { font-size: 32px; }
  .hero h1 span { font-size: 22px; }
  .pillars { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .case-studies-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    box-shadow: var(--shadow-hover);
    padding: 10px 0;
  }
  .nav-list.active { display: flex; }
  .nav-list > li > a { padding: 12px 20px; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: var(--off-white);
  }
  .nav-list > li:hover .dropdown-menu,
  .nav-list > li.dropdown-open .dropdown-menu { display: block; }

  .hero { padding: 60px 0; min-height: auto; }
  .hero h1 { font-size: 28px; }
  .hero h1 span { font-size: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .case-studies-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .careers-positions { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .top-bar .container { flex-direction: column; gap: 5px; text-align: center; }
  .top-bar-contact { flex-direction: column; gap: 5px; }
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--maroon);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover {
  background: #5a0012;
  transform: translateY(-5px);
}

