/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

/* Main Header */
#header {
    background-color: #e6dc9f;
    height: 192px;
    display: flex;
    align-items: center;
}

#header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    width: 100%;
}

#header .logo img {
    width: 500px;
    height: 171px;
    display: block;
    object-fit: contain;
    padding: 0;
}

/* Secondary Navigation Bar */
#secondary-nav {
    background-color: #f0f1eb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 50px;
    padding: 0;
}

#secondary-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#secondary-nav > .container > ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

#secondary-nav > .container > ul > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
}

#secondary-nav ul li a {
    text-decoration: none;
    color: #32373c;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#secondary-nav > .container > ul > li > a:hover {
    color: #AD1F22;
    background-color: #e6dc9f;
}

#secondary-nav > .container > ul > li > a.active {
    background-color: #ad1f22;
    color: white;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: white;
    width: 210px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1001;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    display: block;
    border-bottom: 1px solid #f0f1eb;
    height: 50px;
    width: 100%;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #32373c;
    font-weight: 400;
    font-size: 14px;
    text-transform: none;
    box-sizing: border-box;
}

.dropdown-menu li a:hover {
    background-color: #e6dc9f;
    color: #AD1F22;
}

.nav-contact {
    text-align: right;
    border: 2px solid #ad1f22;
    background-color: #ad1f22;
    padding: 15px 15px;
    border-radius: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 50px;
    width: 408px;
    justify-content: center;
}

.nav-contact p {
    color: white;
    font-size: 14px;
    margin: 0;
}

.nav-contact strong {
    font-weight: 700;
    font-size: 18px;
    color: white;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    text-align: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.hero-content {
    display: none;
}

.hero-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(230, 220, 159, 0.45);
    padding: 50px 40px;
    width: 412px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.sidebar-content {
    opacity: 0;
    position: absolute;
    transition: opacity 1s ease-in-out;
    padding: 0 20px;
    text-align: left;
}

.sidebar-content.active {
    opacity: 1;
    position: relative;
}

.hero-sidebar h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 25px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-align: left;
}

.hero-sidebar p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #333333;
    margin: 0 0 35px 0;
    line-height: 1.8;
    text-shadow: none;
    text-align: left;
}

.sidebar-button {
    display: inline-block;
    background-color: #AD1F22;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 3px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.sidebar-button:hover {
    background-color: #8d1a1c;
    transform: translateY(-2px);
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slider-controls {
    display: none;
}

.slider-dots {
    display: none;
}

.cta-button {
    display: inline-block;
    background-color: #AD1F22;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #8d1a1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Credit Bureaus Section */
.bureaus {
    background-color: #f6f7f3;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

.bureaus h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #32373c;
    font-weight: 700;
}

.bureaus-description {
    font-size: 17px;
    line-height: 1.8;
    color: #333333;
    max-width: 900px;
    margin: 0 auto 40px;
}

.bureau-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.bureau-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bureau-item img {
    max-width: 150px;
    height: auto;
    display: block;
}

/* Call to Action Section */
.cta-section {
    padding: 100px 20px;
    background-color: #32373c;
    background-image: url('img/test-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 55, 60, 0.7);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
}

.cta-section p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 35px;
    color: white;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-signup-button {
    display: inline-block;
    background-color: #AD1F22;
    color: white;
    padding: 15px 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cta-signup-button:hover {
    background-color: #8d1a1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Page Content Section */
.page-content {
    padding: 80px 20px;
    background-color: white;
    min-height: 400px;
}

.page-content h1 {
    font-size: 42px;
    color: #32373c;
    margin-bottom: 30px;
    text-align: center;
}

.page-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    text-align: center;
}

/* Three Column Section */
.three-column-section {
    padding: 60px 20px;
    background-color: white;
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.three-columns .column {
    background-color: #f0f1eb;
    padding: 30px;
    border-radius: 5px;
}

.three-columns .column h3 {
    font-size: 22px;
    font-weight: 700;
    color: #32373c;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.three-columns .column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.three-columns .column ul li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.three-columns .column ul li a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.three-columns .column ul li a:hover {
    color: #AD1F22;
}

.three-columns .column p {
    color: #333333;
    line-height: 1.7;
    font-size: 15px;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: white;
}

.services h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #32373c;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #F0F1EB;
    padding: 30px;
    border-radius: 5px;
    border-left: 4px solid #AD1F22;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #AD1F22;
}

.service-card p {
    color: #333333;
    line-height: 1.7;
}

/* FAQ Section */
.faq {
    background-color: white;
    color: #333333;
    padding: 80px 20px;
}

.faq h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #32373c;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #F0F1EB;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid #AD1F22;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #32373c;
}

.faq-item p {
    color: #333333;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: white;
}

.about h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #32373c;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 20px;
}

.about-content strong {
    color: #32373c;
    font-weight: 700;
}

/* About Page Layout */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 408px;
    gap: 30px;
}

.about-main {
    padding-right: 20px;
}

.owner-photo {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
    width: 200px;
    height: auto;
}

.presentation-photo {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
    width: 408px;
    height: 306px;
}

.about-main p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 15px;
    text-align: left;
}

.education-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
    display: block;
}

.about-main .paragraph-spacing {
    margin-top: 25px;
}

.why-choose-header {
    font-size: 27px;
    color: #32373c;
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-block {
    background-color: #f0f1eb;
    padding: 25px;
    border-radius: 5px;
}

.sidebar-block h3 {
    font-size: 20px;
    color: #32373c;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.sidebar-block p {
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 10px;
    text-align: left;
}

.sidebar-block p:last-child {
    margin-bottom: 0;
}

.testimonial-text {
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-stars {
    color: #ffd700;
    font-size: 20px;
}

.testimonial-author {
    font-size: 14px;
    color: #333333;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 0;
}

.testimonial-box {
    background-color: #f6f7f3;
    padding: 25px;
    border-radius: 5px;
}

.testimonial-box .testimonial-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333333;
}

.testimonial-box .testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-box .testimonial-stars {
    color: #ffd700;
    font-size: 18px;
}

.testimonial-box .testimonial-author {
    font-size: 14px;
    color: #333333;
    font-weight: 700;
}

.cta-image-block {
    background-image: url('img/small_cta_256314.jpg');
    background-size: cover;
    background-position: center;
    text-align: left;
    padding: 50px 25px;
    position: relative;
}

.cta-image-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

.cta-image-block h3 {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 30px;
    margin-bottom: 25px;
    text-align: left;
}

.cta-red-button {
    position: relative;
    z-index: 1;
    display: inline-block;
    background-color: #ad1f22;
    color: white;
    padding: 12px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

.sidebar-read-more-button {
    display: inline-block;
    background-color: #e6dc9f;
    color: #32373c;
    padding: 10px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.sidebar-read-more-button:hover {
    background-color: #d4ca87;
    transform: translateY(-2px);
}

.faq-preview-box {
    background-color: #f6f7f3;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.faq-preview-box h3 {
    font-size: 20px;
    color: #32373c;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.faq-preview-box p {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 15px;
}

.faq-read-more-button {
    display: inline-block;
    background-color: #e6dc9f;
    color: #32373c;
    padding: 10px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.faq-read-more-button:hover {
    background-color: #d4ca87;
    transform: translateY(-2px);
}

.faq-back-button {
    display: inline-block;
    background-color: #ad1f22;
    color: white;
    padding: 12px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 3px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.faq-back-button:hover {
    background-color: #8d1a1c;
    transform: translateY(-2px);
}

.faq-list {
    margin-top: 0;
}

/* How It Works Section */
.how-it-works {
    background-color: #F0F1EB;
    padding: 80px 20px;
}

.how-it-works h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #32373c;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #32373c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #32373c;
}

.step p {
    color: #333333;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background-color: #32373c;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-info .phone {
    font-size: 32px;
    font-weight: 700;
    margin: 30px 0;
}

/* Contact Page */
.contact-page {
    padding: 60px 20px;
}

.contact-info-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-info-header p {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333333;
    text-align: left;
}

.contact-info-header a {
    color: #333333;
    text-decoration: none;
}

.contact-info-header a:hover {
    color: #AD1F22;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section {
    padding-right: 20px;
}

.contact-form {
    background-color: #f6f7f3;
    padding: 30px;
    border-radius: 5px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #32373c;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #AD1F22;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: #AD1F22;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 3px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #8d1a1c;
    transform: translateY(-2px);
}

.contact-map-section {
    display: flex;
    min-height: 100%;
}

.contact-map-section iframe {
    border-radius: 5px;
    min-height: 100%;
}

/* Pre-Footer Call Section */
.pre-footer-call {
    background-color: #ad1f22;
    height: 70px;
    display: flex;
    align-items: center;
    text-align: center;
}

.pre-footer-call .call-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.pre-footer-call .phone-icon {
    font-size: 32px;
    color: white;
    filter: brightness(0) invert(1);
}

.pre-footer-call p {
    color: white;
    font-size: 33px;
    margin: 0;
    font-weight: 400;
}

.pre-footer-call strong {
    font-weight: 700;
    font-size: 33px;
}

/* Footer */
footer {
    background-color: #e6dc9f;
    color: #333333;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: #32373c;
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-section a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #AD1F22;
}

.footer-read-more {
    display: inline-block;
    background-color: #AD1F22;
    color: white !important;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.footer-read-more:hover {
    background-color: #8d1a1c !important;
    color: white !important;
    transform: translateY(-2px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #AD1F22;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Client Results Page */
.result-viewer {
    margin-bottom: 60px;
}

.result-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.result-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.result-image:first-child {
    position: relative;
}

.result-image.active {
    opacity: 1;
}

.result-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(173, 31, 34, 0.9);
    color: white;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 3px;
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.result-label.label-after {
    background-color: rgba(46, 125, 50, 0.9);
}

.result-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 48px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 3px;
    line-height: 1;
    padding: 0;
}

.result-arrow:hover {
    background-color: rgba(173, 31, 34, 0.9);
}

.result-arrow-left {
    left: 20px;
}

.result-arrow-right {
    right: 20px;
}

#results-container {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Header */
    #header {
        height: auto;
        padding: 10px 0 20px 0;
    }

    #header .container {
        padding: 0 20px;
        justify-content: center;
    }

    #header .logo {
        text-align: center;
        width: 100%;
    }

    #header .logo img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }

    /* Navigation */
    #secondary-nav {
        height: auto;
        position: relative;
    }

    #secondary-nav .container {
        flex-direction: column;
        padding: 0;
        position: relative;
    }

    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        height: 50px;
        background-color: #f0f1eb;
        color: #32373c;
        border: none;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background-color: #e6dc9f;
    }

    .mobile-menu-toggle .menu-icon {
        font-size: 24px;
    }

    /* Hide nav menu by default on mobile */
    #secondary-nav > .container > ul.nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    /* Show nav menu when active */
    #secondary-nav > .container > ul.nav-menu.active {
        display: flex;
    }

    #secondary-nav > .container > ul > li {
        width: 100%;
        height: auto;
        position: relative;
    }

    #secondary-nav ul li a {
        padding: 15px 20px;
        width: 100%;
        text-align: center;
    }

    #secondary-nav .dropdown {
        position: relative;
    }

    /* Hide the parent ABOUT and SERVICES links on mobile */
    #secondary-nav .dropdown > a {
        display: none;
    }

    /* Show all dropdown items by default on mobile */
    #secondary-nav .dropdown-menu {
        position: relative;
        box-shadow: none;
        background-color: transparent;
        width: 100%;
        display: block !important;
        left: 0;
        top: 0;
    }

    #secondary-nav .dropdown-menu li {
        height: auto;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        display: block;
        float: none;
        clear: both;
    }

    #secondary-nav .dropdown-menu li a {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        display: block;
        height: auto;
        background-color: #f0f1eb;
    }

    #secondary-nav .dropdown-menu li a:hover {
        background-color: #e6dc9f;
    }

    #secondary-nav .dropdown-menu li a.active {
        background-color: #ad1f22;
        color: white;
    }

    .nav-contact {
        width: 100%;
        height: auto;
        padding: 15px 20px;
        text-align: center;
        justify-content: center;
    }

    .nav-contact p {
        font-size: 14px;
        text-align: center;
    }

    .nav-contact strong {
        font-size: 18px;
    }

    /* Hide entire hero section on mobile */
    .hero {
        display: none;
    }

    .sidebar-content {
        padding: 0;
    }

    .hero-sidebar h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .hero-sidebar p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .sidebar-button {
        padding: 10px 25px;
        font-size: 14px;
        margin-top: 10px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    /* Bureaus Section */
    .bureaus {
        padding: 40px 20px;
    }

    .bureaus h2 {
        font-size: 24px;
    }

    .bureaus-description {
        font-size: 15px;
    }

    .bureau-logos {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }

    /* Three Columns */
    .three-column-section {
        padding: 40px 20px;
    }

    .three-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Page Content */
    .page-content {
        padding: 40px 20px;
    }

    .page-content h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .page-content p {
        font-size: 16px;
    }

    /* About Layout */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-main {
        padding-right: 0;
    }

    .owner-photo,
    .presentation-photo {
        float: none;
        display: block;
        margin: 0 auto 20px;
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .why-choose-header {
        font-size: 22px;
    }

    /* Sidebar */
    .sidebar-block {
        padding: 20px;
    }

    .sidebar-block h3 {
        font-size: 18px;
    }

    .sidebar-block p {
        font-size: 14px;
    }

    .cta-image-block {
        padding: 40px 20px;
    }

    .cta-image-block h3 {
        font-size: 24px;
    }

    /* Testimonials */
    .testimonial-box {
        padding: 20px;
    }

    .testimonial-box .testimonial-text {
        font-size: 15px;
    }

    /* FAQ */
    .faq-preview-box {
        padding: 20px;
    }

    .faq-preview-box h3 {
        font-size: 18px;
    }

    .faq-preview-box p {
        font-size: 15px;
    }

    /* Contact Page */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-section {
        padding-right: 0;
    }

    .contact-info-header p {
        font-size: 16px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-map-section iframe {
        height: 300px;
    }

    /* Results Page */
    .result-viewer {
        margin-bottom: 40px;
    }

    .result-arrow {
        width: 50px;
        height: 50px;
        font-size: 36px;
    }

    .result-arrow-left {
        left: 10px;
    }

    .result-arrow-right {
        right: 10px;
    }

    /* Pre-Footer */
    .pre-footer-call {
        height: auto;
        padding: 20px;
    }

    .pre-footer-call p {
        font-size: 18px;
        text-align: center;
    }

    .pre-footer-call strong {
        font-size: 22px;
    }

    .pre-footer-call .phone-icon {
        font-size: 24px;
    }

    /* Footer */
    footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer-section p {
        font-size: 14px;
    }

    .footer-read-more {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    /* Sidebar buttons */
    .sidebar-read-more-button {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .cta-red-button {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .faq-read-more-button {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    /* Education Images */
    .education-image {
        width: 100%;
        height: auto;
    }

    /* Service Grid */
    .service-grid,
    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #header .logo img {
        max-width: 250px;
    }

    .hero {
        min-height: 300px;
    }

    .hero-sidebar h3 {
        font-size: 18px;
    }

    .hero-sidebar p {
        font-size: 13px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 15px;
    }

    .page-content h1 {
        font-size: 24px;
    }

    .bureaus h2 {
        font-size: 20px;
    }

    .result-arrow {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .result-arrow-left {
        left: 5px;
    }

    .result-arrow-right {
        right: 5px;
    }

    .pre-footer-call p {
        font-size: 14px;
    }

    .pre-footer-call strong {
        font-size: 18px;
    }

    .pre-footer-call .call-content {
        flex-direction: row;
        gap: 10px;
    }

    .contact-info .phone {
        font-size: 24px;
    }
}
