/*-------------------- Root Variables --------------------*/
:root {
  --primary-color: #2C2436;
  --accent-color: #ff6f61;
  --text-color: #ffffff;
  --bg-color: #f3f3f3;
  --white: #ffffff;
  --overlay-color: rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--primary-color);
  line-height: 1.6;
}

/* --- NAV BAR STYLES START --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; 
    padding: 0 5%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    text-decoration: none;
}

.logo-symbol {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    border: 2px solid var(--accent-color);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--accent-color);
}

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

.main-title {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.sub-title {
    font-size: 0.65rem; 
    letter-spacing: 4.5px;
    font-weight: 400;
    color: var(--accent-color);
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: none; 
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 80px; 
    left: 0;
    background-color: var(--primary-color);
    padding: 20px 0;
    text-align: center;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    margin: 15px 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
}

.nav-links a.nav-active {
    text-decoration: underline;
    color: var(--accent-color);
}

nav a:hover {
    color: var(--accent-color);
}

nav a.active {
  text-decoration: underline;
  color: var(--accent-color);
}

/* toggleMenu Icon */
.toggleMenu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.toggleMenu span {
    width: 28px;
    height: 3px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

/* toggleMenu to X Animation */
.toggleMenu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.toggleMenu.active span:nth-child(2) { opacity: 0; }
.toggleMenu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/*-------------------- Hero & Content Layouts --------------------*/
.hero-overlay {
  background-color: var(--accent-color);
  height: calc(100vh - 60px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-overlay h1 {
  color: var(--text-color);
  font-size: 2.5rem;
  text-align: center;
  padding: 1rem;
  text-transform: uppercase;
}

.content-row {
  width: 100%;
  display: flex;
  justify-content: center;  
  flex-direction: column;
}

.content-row h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2rem 0 0.5rem 0;
}

.content-row h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--accent-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.content-container {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
}

/*-------------------- Service Boxes (5-Column Logic) --------------------*/
.content-container-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}

.content-box {
  flex: 1 1 calc(20% - 1.5rem); /* Calculated for 5 items */
  background-color: #fff;
  text-align: center;
  text-decoration: none;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 220px;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  overflow: hidden;
}

.content-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.box-content-img {
  width: 100%;
  height: 180px;
  background-color: var(--bg-color);
  padding: 1rem;
  object-fit: contain;
  display: block;
}

.box-content-text {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-content-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-color);
}

/*-------------------- Two Column & Text Styles --------------------*/
.content-container-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.content-container-text h2 {
  font-size: 2rem;
}

.content-container-text p {
  padding: 0 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.content-container-text-list {
  list-style-type: none;
  padding: 20px;
}

.content-container-text-list li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.content-container-text-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.content-container-img {
  flex: 1;
  display: flex;
}

.content-container-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-container-reverse {
  flex-direction: row-reverse;
}

/*-------------------- Generic CTA Section --------------------*/
.cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--white);
}

.cta-section-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.cta-section h2 {
  color: var(--accent-color);
  text-transform: uppercase;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 1rem;
}

.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 16px 32px;
  background-color: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.25s ease;
  min-width: 220px;
}

.cta-button:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

/*-------------------- FAQ Specific --------------------*/
.faq-nav-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 2rem 0;
}

.faq-nav {
  background: #eee;
  padding: 1.2rem;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.faq-nav a {
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  padding: 10px 20px;
  background: var(--accent-color);
  border-radius: 5px;
  transition: 0.3s;
}

.faq-nav a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/*-------------------- Footer --------------------*/
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 3rem 0;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 8px 0;
}

.footer-col a:hover {
  text-decoration: underline;
}

/*-------------------- Responsive Breakpoints --------------------*/

/* Desktop Mid-Range (Adjust for 5 columns) */
@media (max-width: 1400px) {
  .content-box {
    flex: 1 1 calc(33.333% - 1.5rem); /* 3 items per row */
  }
}

@media (min-width: 1201px) {
    .toggleMenu {
        display: none; 
    }

    .nav-links {
        display: flex !important; 
        position: static;         
        flex-direction: row;      
        width: auto;
        padding: 0;
        gap: 25px;
        border: none;
    }

    .nav-links li {
        margin: 0;
    }
}

/* Tablet Layout */
@media (max-width: 900px) {
  .content-container, .footer-columns {
    flex-direction: column;
    width: 90%;
  }
  .content-container-reverse {
    flex-direction: column;
  }
  .content-box {
    flex: 1 1 calc(50% - 1.5rem); /* 2 items per row */
  }
  .content-container-text h2 {
    text-align: center;
  }
}

/* Mobile Portrait */
@media (max-width: 600px) {
  .content-box {
    flex: 1 1 100%; /* Single column */
  }
  .hero-overlay h1 {
    font-size: 1.8rem;
  }
  .cta-section h2 {
    font-size: 2rem;
  }
}