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

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
  font-family: Arial, sans-serif; 
  line-height: 1.6;
}

header { 
    background-image: linear-gradient(rgba(248, 177, 10, 0.2), rgba(248, 177, 10, 0.05)), url('../images/header-house.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff; 
    padding: 2rem 1rem; 
    text-align: center;
    position: relative;
}

section {
    max-width: 900px; 
    margin: 2rem auto; 
    padding: 2rem; 
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    font-family: Arial, sans-serif; 
    line-height: 1.6; 
    color: #333;
}

h2 {
   color: #c71f00; 
   text-align: left; 
   margin-bottom: 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.header-text {
    flex: 1;
    text-align: left;
}

.header-text h1 {
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 2.5rem;
}

.header-text p {
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-size: 1.2rem;
}

.header-logo {
    flex-shrink: 0;
    margin-left: 2rem;
}

.header-logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

/* Navigation */
.navborders {
    border-top: 3px solid #c91b00; 
    border-bottom: 2px solid #c91b00;"
}
nav { 
    /* background: #6b1423; */ 
    background: #e27d3c;
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    padding: 0.2rem;
}

nav a { 
    color: #fff; 
    text-decoration: none; 
    padding: 1rem; 
}

nav a:hover { 
    background: #ec6109;
border-radius: 10px; 
}

/* Main Layout Container */
.layout-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    padding: 2rem;
    min-height: 60vh;
}

/* Main Content - Updated to work with layout container */
main {
    flex: 2;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

/* For pages WITHOUT sidebar - fallback to original styling */
body:not(.has-sidebar) main {
    flex: none;
    max-width: 900px;
    margin: auto;
    background: transparent;
    border-radius: 0;
}

/* Right Sidebar */
.right-sidebar {
    flex: 1;
    max-width: 300px;
    background: #f0f0f0;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
}

/* Footer */
footer { 
    /*background: #4a0e1a;*/ 
    background: #ec6109;
    color: #fff; 
    padding: 1rem; 
    text-align: center; 
    font-size: 0.9rem;
    margin-top: 2rem;
    border-top: 3px solid #c91b00;
}

/* Normal unvisited link */
a {
  color: #c71f00; /* primary color */
  text-decoration: none; /* optional: remove underline */
  transition: color 0.3s; /* smooth hover transition */
}

/* Hover state */
a:hover {
  color: #c91b00;
}

/* Visited links */
a:visited {
  color: #ec6109;
}

/* Footer links */
.footernav a {
  color: #000000; /* primary color */
  text-decoration: none; /* optional: remove underline */
  transition: color 0.3s; /* smooth hover transition */
}

/* Footer Hover state */
.footernav a:hover {
  color: #ffff00;
}



.main-content-section {
  background: #f8b10a10; /* light highlight of your accent color */
  border-left: 6px solid #c71f00; /* primary brand color for emphasis */
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

.main-content-section h2 {
  color: #c71f00; /* primary color */
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.main-content-section p {
  margin-bottom: 1rem;
  color: #333;
}

.certification-benefits {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #4a0e1a;
}

.certification-benefits li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.certification-benefits li span {
  color: #c91b00; /* hover/emphasis color */
  font-weight: bold;
}
.certification-steps-section {
  background: #f8b10a10; /* subtle highlight matching previous section */
  border-left: 6px solid #c71f00; /* primary brand color */
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

.certification-steps-section h2 {
  color: #c71f00; /* primary color */
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.certification-steps {
  list-style-type: decimal; /* numbered steps */
  padding-left: 1.5rem;
  color: #4a0e1a;
}

.certification-steps li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.certification-steps li strong {
  color: #c91b00; /* highlight important items */
}

.certification-steps li em {
  color: #ec6109; /* emphasis color for terms like Fast Track */
  font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 1rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-text {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .header-text h1 {
        font-size: 2rem;
    }
    
    .header-text p {
        font-size: 1rem;
    }
    
    .header-logo {
        margin-left: 0;
    }
    
    .header-logo img {
        height: 60px;
    }
    
    .layout-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .right-sidebar {
        max-width: none;
        order: 2;
    }
    
    main {
        order: 1;
        padding: 1rem;
    }
    
    /* Mobile fallback for non-sidebar pages */
    body:not(.has-sidebar) main {
        padding: 2rem 1rem;
    }
}
@media (max-width: 400px) {
    div[style*="display: flex"][style*="max-width: 1200px"] {
        flex-direction: column !important;
        padding: 10px !important;
        gap: 10px !important;
    }
    
    div[style*="flex: 1"][style*="max-width: 300px"] {
        max-width: none !important;
        order: 2;
    }
    
    div[style*="flex: 2"] {
        order: 1;
    }
}
/* Content Container */
.content-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.main-content {
    flex: 2;
    background: white;
    padding: 20px;
}

.sidebar-content {
    flex: 1;
    background: #f5f5f5;
    padding: 20px;
    max-width: 300px;
}

/* Mobile Responsive - ONLY apply column layout on small screens */
@media (max-width: 400px) {
    .content-container {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }
    
    .sidebar-content {
        max-width: none;
    }
}

