/* ===================================
   CSS Reset & Base Styles
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'OpenSans-Regular', Arial, sans-serif;
  font-size: 100%;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

@font-face {
  font-family: 'OpenSans-Regular';
  src: url(../fonts/OpenSans-Regular.ttf) format('truetype');
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  color: #1E3258;
  font-weight: 400;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: #1E3258;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #F66C53;
}

/* ===================================
   Layout Components
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
  padding: 1.5rem 2rem;
  background-image: linear-gradient(to bottom, #3d3d3d, #1d1c1c);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  color: #fff;
  padding: 0.5rem 1.5rem;
  text-shadow: 0px 5px 10px #000000;
  transition: color 0.3s ease;
}

.nav-menu > li > a:hover {
  color: #F66C53;
}

.nav-logo {
  width: 160px;
  height: auto;
  display: block;
}

/* Dropdown Menus */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(19, 19, 19, 0.95);
  list-style: none;
  min-width: 300px;
  padding: 0.5rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #fff;
  text-shadow: 0px 5px 10px #000000;
  transition: color 0.3s ease;
}

.dropdown li a:hover {
  color: #F66C53;
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile Toggle Button */
.navbar-toggle {
  display: none;
  background: transparent;
  border: 2px solid #fff;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 4px;
}

.icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* ===================================
   Banner / Hero Section
   =================================== */

.banner {
  background-image: url(slide_1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  min-height: 500px;
  position: relative;
}

/* Improved responsive image handling */
@media (max-width: 1200px) {
  .banner {
    background-position: center 20%;
  }
}

/* Mobile hero logo - hidden on desktop */
.mobile-hero-logo {
    display: none;
}

@media (max-width: 768px) {
  .banner {
    min-height: 250px;
    background-position: center center;
  }
    .mobile-hero-logo {
        display: block;
        position: absolute;
        top: 10%;
        right: 4%;
        z-index: 99;
        transition: opacity 0.3s ease;
    }
    
    .mobile-hero-logo img {
        width: 160px;
        height: auto;
    }
    
    /* Hide the mobile hero logo when nav menu is active */
    .nav-menu.active ~ .mobile-hero-logo {
        opacity: 0;
        pointer-events: none;
    }
    
    /* OR if the structure doesn't support ~ selector, add a class to navbar */
    .navbar.menu-open .mobile-hero-logo {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 480px) {
  .banner {
    min-height: 250px;
    background-position: center center;
  }
}

/* ===================================
   Welcome / Content Section
   =================================== */

.welcome {
  padding: 4rem 0;
  background: #fff;
}

.welcome-section {
  max-width: 900px;
  margin: 0 auto;
}

.welcome-content {
  margin-bottom: 2rem;
}

.welcome-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* Styled List */
.styled-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.styled-list li {
  background: #f8f9fa;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 5px solid #e97621;
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.styled-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

  /* Division toggle nav */
  .division-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  .division-nav a {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 2px solid #d27717;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #d27717;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .division-nav a:hover {
    background-color: #fffaf6;
  }

  /* Active/selected division */
  .division-nav a.active {
    background-color: #d27717;
    color: #ffffff;
  }
  
/* ===================================
   Footer
   =================================== */

.footer {
  padding-bottom:2rem;
  background: #F1F1F1;
}

.footer-content {
  font-size:0.8em;
  padding:2em 0em;
}

.footer-copyright {
  text-align: center;
  color: #999;
  font-size: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid #444;
}

.footer-end{
  display:none;
  margin:3em;
  text-align:center;
}
/* ===================================
   Responsive Design
   =================================== */

/* Tablet and smaller */
@media (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .nav-menu {
    gap: 0.25rem;
  }
  
  .nav-menu > li > a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .welcome {
    padding: 3rem 0;
  }
  .footer-end{
    display:block;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar {
    display:none;
  }
  
  .navbar-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 101;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(19, 19, 19, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1rem 2rem;
    gap: 0;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  /* Hide logo on mobile */
  .nav-menu > li:first-child {
    display: none;
  }
  
  .nav-menu > li:first-child a {
    padding: 0;
  }
  
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu > li > a {
    padding: 1rem;
    width: 100%;
  }
  
  .nav-logo {
    margin-bottom: 0;
  }
  
  .has-dropdown .dropdown {
    position: static;
    display: none;
    background: rgba(0, 0, 0, 0.3);
    min-width: auto;
    width: 100%;
    box-shadow: none;
  }
  
  .has-dropdown:hover .dropdown {
    display: none;
  }
  
  .has-dropdown.active .dropdown {
    display: block;
  }
  
  .dropdown li a {
    padding: 0.75rem 1.5rem;
  }
  
  .banner {
    min-height: 250px;
  }
  
  .welcome {
    padding: 2rem 0;
  }

}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .banner {
    min-height: 250px;
  }
  
  .welcome-content p {
    font-size: 0.95rem;
  }
  
  .styled-list li {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .footer-column h3 {
    font-size: 1.1rem;
  }
  
  .footer-copyright {
    font-size: 0.7rem;
  }
}

/* Very small screens */
@media (max-width: 320px) {
  .nav-menu {
    width: 90%;
  }
  
  .banner {
    min-height: 250px;
  }
  
  .styled-list li {
    font-size: 0.85rem;
  }
}

/* ===================================
   Products Page Styles
   =================================== */

.cover-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.cover-block {
  border: 1px solid #f2c18d;
  border-radius: 8px;
  padding: 1.5rem;
  background: #fffaf3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cover-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(210, 119, 23, 0.15);
}

.cover-block h4 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: #d27717;
}

.cover-block p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #555;
}

.cover-block p:last-child {
  margin-bottom: 0;
}

.cover-block ul {
  margin: 0.5rem 0 0 0;
  padding-left: 0;
}

.cover-block li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.cover-block strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #d27717;
  font-size: 1.05rem;
}

/* Key Features List */
.key-features {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.key-features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.key-features li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 0;
  color: #d27717;
  font-weight: bold;
}

/* Checklist */
.checklist {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #d27717;
  font-weight: bold;
  font-size: 1.1rem;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #d27717;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: #b86513;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(210, 119, 23, 0.3);
  color: white;
  text-decoration: none;
}

/* ===================================
   Team Page Styles
   =================================== */

.team-member {
  background: #f8f9fa;
  border-left: 5px solid #d27717;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-name {
  color: #d27717;
  font-size: 1.4rem;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

.team-title {
  color: #d27717;
  font-size: 1rem;
  margin: 0 0 1.5rem 0;
  font-weight: 400;
  opacity: 0.85;
}

.team-bio {
  margin-bottom: 1.5rem;
}

.team-bio p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #555;
}

.team-bio p:last-child {
  margin-bottom: 0;
}

.team-contact {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  color: #d27717;
}

.team-contact a {
  color: #d27717;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-contact a:hover {
  color: #b86513;
  text-decoration: underline;
}

/* ===================================
   Legal & Policy Pages Styles
   =================================== */

.welcome-content h4 {
  color: #d27717;
  font-size: 1.2rem;
  margin: 2rem 0 1rem 0;
  font-weight: 600;
}

.welcome-content h4:first-of-type {
  margin-top: 1rem;
}

.welcome-content strong {
  color: #d27717;
}

.welcome-content ul {
  margin: 1rem 0 0rem 0rem;
  line-height: 1.8;
}

.welcome-content ul li {
  margin-bottom: 0.5rem;
  color: #555;
}

.welcome-content ol {
  margin: 1rem 0 1.5rem 2rem;
  line-height: 1.8;
}

.welcome-content ol li {
  margin-bottom: 0.5rem;
  color: #555;
}

.unstyled-ul{
  margin: 1rem 0 0rem 1rem!important;
}

/* Complaints Page Step Headers */
.step-header {
  color: #d27717;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

/* Contact Details Box */
.contact-box {
  background: #f8f9fa;
  border-left: 5px solid #d27717;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  flex: 1;
  min-width: 0;
}

.contact-box p {
  margin: 0.25rem 0;
  line-height: 1.8;
}

.contact-box {
  background: #f8f9fa;
  border-left: 5px solid #d27717;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  flex: 1;
  min-width: 0;
}

.contact-box-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Support Services Table */
.services-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.services-table th,
.services-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.services-table th {
  background: #f8f9fa;
  color: #d27717;
  font-weight: 600;
}

.services-table td {
  color: #555;
  line-height: 1.6;
}

.services-table a {
  color: #d27717;
  word-break: break-word;
}

/* Contact Page Map Image */
.contact-map {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Two Column Layout for Contact Page */
.contact-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-column {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 5px solid #d27717;
}

.contact-column h4 {
  color: #d27717;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Emergency Alert Box */
.emergency-alert {
  background: #fff5f5;
  border: 2px solid #e53e3e;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-weight: 600;
  color: #c53030;
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media (max-width: 768px) {
  .cover-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-box {
    flex: 1 1 100%;
  }  
  .cover-block {
    padding: 1.25rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .team-name {
    font-size: 1.25rem;
  }
  
  .contact-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-table {
    font-size: 0.9rem;
  }
  
  .services-table th,
  .services-table td {
    padding: 0.75rem 0.5rem;
  }
  
  /* Stack table on very small screens */
  .services-table thead {
    display: none;
  }
  
  .services-table tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .services-table td {
    display: block;
    text-align: left;
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .services-table td:before {
    content: attr(data-label);
    font-weight: 600;
    color: #d27717;
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .services-table td:last-child {
    border-bottom: none;
  }
}
}

@media (max-width: 480px) {
  .cover-block {
    padding: 1rem;
  }
  
  .team-member {
    padding: 1.25rem;
  }
  
  .team-name {
    font-size: 1.15rem;
  }
  
  .cta-button {
    display: block;
    text-align: center;
    width: 100%;
  }
}

/* ===================================
   Utility Classes
   =================================== */

.text-center {
  text-align: center;
}

.gray {
  color: #ccc;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ===================================
   Featured Products – Small Cards
   360 Commercial / TLC Style
   =================================== */

.fp-small-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Card */
.fp-small-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image */
.fp-image {
  height: 150px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

/* Body */
.fp-body {
  padding: 1.25rem;
}

.fp-body h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #d27717;
}

.fp-body p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* Hover */
.fp-small-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.fp-small-card:hover .fp-image {
  transform: scale(1.05);
}

/* Tablet */
@media (max-width: 992px) {
  .fp-small-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .fp-small-grid {
    grid-template-columns: 1fr;
  }

  .fp-image {
    height: 180px;
  }
}
/* ===================================
   Featured Products – Orange Hover Overlay
   =================================== */

.fp-image {
  position: relative;
  overflow: hidden;
}

/* Orange overlay */
.fp-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(210, 119, 23, 0.55); /* brand orange */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover trigger */
.fp-small-card:hover .fp-image::after {
  opacity: 1;
}
