/*
 * Iron Oak Tree Company - shared site styles
 * Extracted from the homepage template so every page uses the same design.
 * Loaded via wp_enqueue_style() in functions.php.
 */

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

html {
    scroll-behavior: smooth;
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn-primary {
    background: #FDB827;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.btn-primary:hover {
    background: #e6a520;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 184, 39, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FDB827;
    border: 2px solid #FDB827;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.btn-secondary:hover {
    background: #FDB827;
    color: #000;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.95); */
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 80px;
    width: auto;
    margin-right: 10px;
}

.nav-logo h2 {
    color: #FDB827;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;

}

.nav-menu a:hover {
    color: #FDB827;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #FDB827;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh !important;
        padding: 10px 20px;
        margin-top: 60px
    }
}





.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Booking Section */
.booking-section {
    background: black;
    padding: 4rem 0;
    color: white;
}

.booking-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #FDB827;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(253, 184, 39, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(253, 184, 39, 0.2);
    border-color: #FDB827;
}

.service-card.selected {
    background: rgba(253, 184, 39, 0.2);
    border-color: #FDB827;
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: #FDB827;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FDB827;
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.service-toggle:hover {
    transform: scale(1.1);
}

.service-toggle.selected {
    background: #28a745;
    color: white;
}

.booking-cta {
    text-align: center;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: #FDB827;
    font-size: 1.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-item {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #FDB827;
}

.service-item .service-icon {
    font-size: 3rem;
    color: #FDB827;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* Slider Section */
.slider-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
}

.slide:nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
}

.slide:nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1574263867128-a3d5c1b1deaa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
}

.slide-content {
    max-width: 600px;
    padding: 0 2rem;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FDB827;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.slider-btn {
    background: rgba(253, 184, 39, 0.8);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #FDB827;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #FDB827;
    transform: scale(1.2);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: #f8f9fa;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #FDB827;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #000;
}

.step p {
    color: #666;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: white;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #FDB827;
}

.feature-icon {
    font-size: 3rem;
    color: #FDB827;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #000;
}

.feature-card p {
    color: #666;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: #FDB827;
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #FDB827;
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #FDB827;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #FDB827;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.testimonial-author strong {
    color: #000;
    display: block;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #000;
}

.faq-question i {
    color: #FDB827;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FDB827;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #FDB827;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.contact-item p {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #FDB827;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FDB827;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInFromTop 0.3s ease;
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #000;
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

.quote-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quote-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover {
    background-color: #f8f9fa;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-nav {
        padding: 0 1rem;
    }

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

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-header,
    .quote-form {
        padding: 1.5rem;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid #333;
    border-top: 3px solid #FDB827;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Credentials section */
.xyz-credentials-section {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

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

/* Section title */
.xyz-section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

/* Section description */
.xyz-section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

/* Badges grid */
.xyz-badges-grid {
    margin-bottom: 60px;
}

.xyz-badge-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.xyz-badge-row:last-child {
    margin-bottom: 0;
}

/* Badge links and images */
.xyz-badge-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.xyz-badge-link:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.xyz-badge-image {
    height: 100px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Action buttons */
.xyz-action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.xyz-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 200px;
    text-align: center;
}

.xyz-btn-primary {
    background-color: #2d5016;
    color: white;
    border-color: #2d5016;
}

.xyz-btn-primary:hover {
    background-color: #1e3510;
    border-color: #1e3510;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
}

.xyz-btn-secondary {
    background-color: transparent;
    color: #2d5016;
    border-color: #2d5016;
}

.xyz-btn-secondary:hover {
    background-color: #2d5016;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
    .xyz-section-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .xyz-section-description {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .xyz-badge-row {
        gap: 20px;
        margin-bottom: 30px;
    }

    .xyz-badge-image {
        height: 80px;
        max-width: 100px;
    }

    .xyz-action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .xyz-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .xyz-credentials-section {
        padding: 60px 0;
    }

    .xyz-section-title {
        font-size: 2rem;
    }

    .xyz-section-description {
        font-size: 1rem;
    }

    .xyz-badge-row {
        gap: 15px;
        justify-content: space-around;
    }

    .xyz-badge-image {
        height: 60px;
        max-width: 80px;
    }

    .xyz-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   Primary navigation: Services dropdown
   ========================================================================== */

.site-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-list .menu-item {
    position: relative;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
    color: #000;
    background: rgba(253, 184, 39, 0.2);
}

.site-nav-list .current-menu-item > .site-nav-link,
.site-nav-list .current-menu-ancestor > .site-nav-link,
.site-nav-list .current_page_item > .site-nav-link {
    color: #000;
    background: rgba(253, 184, 39, 0.25);
    font-weight: 600;
}

/* Dropdown arrow */
.menu-item-has-children > .site-nav-link::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.menu-item-has-children:hover > .site-nav-link::after,
.menu-item-has-children:focus-within > .site-nav-link::after {
    transform: rotate(-135deg) translateY(-2px);
}

/* Submenu panel */
.site-nav-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    min-width: 280px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-top: 3px solid #FDB827;
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.site-nav-list .menu-item-has-children:hover > .sub-menu,
.site-nav-list .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav-list .sub-menu .site-nav-link {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.site-nav-list .sub-menu .site-nav-link:hover {
    background: rgba(253, 184, 39, 0.18);
    color: #000;
}

/* Mobile menu */
.mobile-nav-list,
.mobile-nav-list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: 4px;
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(253, 184, 39, 0.2);
    color: #000;
}

.mobile-nav-list .menu-item-has-children > .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-list .sub-menu {
    display: none;
    padding-left: 12px;
    margin-bottom: 4px;
    border-left: 2px solid rgba(253, 184, 39, 0.5);
}

.mobile-nav-list .menu-item-has-children.is-open > .sub-menu {
    display: block;
}

.mobile-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    background: none;
    border: 0;
    border-radius: 4px;
    color: #1f2937;
    cursor: pointer;
}

.mobile-submenu-toggle::before {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.menu-item-has-children.is-open > .mobile-nav-row .mobile-submenu-toggle::before {
    transform: rotate(-135deg) translateY(-2px);
}

.mobile-nav-row {
    display: flex;
    align-items: center;
}

.mobile-nav-row > .mobile-nav-link {
    flex: 1 1 auto;
}

/* ==========================================================================
   Page content: shared styles for block editor content on inner pages
   These are written explicitly because the Tailwind CDN preflight resets
   headings, lists and tables sitewide.
   ========================================================================== */

.site-main.page-content {
    padding: 56px 20px 72px;
}

.page-content .entry-content {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #333;
}

@media (max-width: 768px) {
    .site-main.page-content {
        padding: 32px 18px 56px;
    }

    .page-content .entry-content {
        font-size: 1rem;
    }
}

/* Headings */
.page-content .entry-content h1,
.page-content .entry-content h2,
.page-content .entry-content h3,
.page-content .entry-content h4,
.page-content .entry-content h5,
.page-content .entry-content h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
}

.page-content .entry-content h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin: 0 0 24px;
}

.page-content .entry-content h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin: 48px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(253, 184, 39, 0.5);
}

.page-content .entry-content h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin: 32px 0 12px;
}

.page-content .entry-content h4 {
    font-size: 1.15rem;
    margin: 24px 0 10px;
}

.page-content .entry-content h5,
.page-content .entry-content h6 {
    font-size: 1rem;
    margin: 20px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
}

.page-content .entry-content > *:first-child {
    margin-top: 0;
}

/* Text */
.page-content .entry-content p {
    margin: 0 0 20px;
}

.page-content .entry-content strong,
.page-content .entry-content b {
    font-weight: 700;
    color: #111;
}

.page-content .entry-content em {
    font-style: italic;
}

.page-content .entry-content a {
    color: #b07f0a;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.page-content .entry-content a:hover {
    color: #000;
}

.page-content .entry-content hr,
.page-content .entry-content .wp-block-separator {
    height: 1px;
    margin: 40px 0;
    background: #e5e5e5;
    border: 0;
}

/* Lists */
.page-content .entry-content ul,
.page-content .entry-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.page-content .entry-content ul {
    list-style: disc;
}

.page-content .entry-content ol {
    list-style: decimal;
}

.page-content .entry-content ul ul {
    list-style: circle;
}

.page-content .entry-content li {
    margin-bottom: 8px;
}

.page-content .entry-content li > ul,
.page-content .entry-content li > ol {
    margin: 8px 0 0;
}

/* Quotes */
.page-content .entry-content blockquote,
.page-content .entry-content .wp-block-quote {
    margin: 32px 0;
    padding: 4px 0 4px 24px;
    border-left: 4px solid #FDB827;
    font-size: 1.125rem;
    color: #444;
}

.page-content .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.page-content .entry-content blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-style: normal;
    color: #777;
}

/* Media */
.page-content .entry-content img,
.page-content .entry-content video,
.page-content .entry-content iframe {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-content .entry-content figure {
    margin: 32px 0;
}

.page-content .entry-content figcaption,
.page-content .entry-content .wp-element-caption {
    margin-top: 10px;
    font-size: 0.875rem;
    color: #777;
    text-align: center;
}

/* Tables */
.page-content .entry-content .wp-block-table,
.page-content .entry-content table {
    width: 100%;
    margin: 0 0 28px;
}

.page-content .entry-content .wp-block-table {
    overflow-x: auto;
}

.page-content .entry-content table {
    border-collapse: collapse;
    font-size: 0.975rem;
}

.page-content .entry-content th,
.page-content .entry-content td {
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: top;
}

.page-content .entry-content thead th {
    background: #111;
    color: #fff;
    font-weight: 600;
}

.page-content .entry-content tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Buttons */
.page-content .entry-content .wp-block-button {
    margin: 0 0 16px;
}

.page-content .entry-content .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 28px;
}

.page-content .entry-content .wp-block-button__link {
    display: inline-block;
    padding: 14px 28px;
    background: #FDB827;
    color: #000;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-content .entry-content .wp-block-button__link:hover {
    background: #e6a520;
    color: #000;
    transform: translateY(-2px);
}

.page-content .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid #111;
    color: #111;
}

.page-content .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #111;
    color: #fff;
}

/* Groups, columns and other layout blocks */
.page-content .entry-content .wp-block-group.has-background,
.page-content .entry-content .wp-block-group[style*="background"] {
    padding: 28px;
    margin: 0 0 28px;
    border-radius: 10px;
}

.page-content .entry-content .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 0 0 28px;
}

.page-content .entry-content .wp-block-column {
    flex: 1 1 240px;
    min-width: 0;
}

.page-content .entry-content .wp-block-cover {
    margin: 0 0 28px;
    border-radius: 10px;
    overflow: hidden;
}

.page-content .entry-content .alignfull,
.page-content .entry-content .alignwide {
    max-width: 100%;
}

.page-content .entry-content .aligncenter {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-content .entry-content .alignright {
    float: right;
    margin: 0 0 20px 24px;
}

.page-content .entry-content .alignleft {
    float: left;
    margin: 0 24px 20px 0;
}

.page-content .entry-content .wp-block-embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.page-content .entry-content code,
.page-content .entry-content kbd {
    padding: 2px 6px;
    background: #f4f4f4;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
}

.page-content .entry-content pre {
    margin: 0 0 28px;
    padding: 20px;
    overflow-x: auto;
    background: #111;
    color: #f5f5f5;
    border-radius: 8px;
}

.page-content .entry-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Post / archive listings */
.page-content .post-list {
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.page-content .post-list-item {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #eee;
}

.page-content .post-list-item h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    border: 0;
    padding: 0;
}

.page-content .post-list-item h2 a {
    color: #111;
    text-decoration: none;
}

.page-content .post-list-item h2 a:hover {
    color: #b07f0a;
}

.page-content .entry-meta {
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: #777;
}

.page-content .posts-navigation {
    max-width: 820px;
    margin: 32px auto 0;
}

/* Error page */
.page-content .error-404 {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.page-content .error-404 .btn-primary {
    margin-top: 12px;
}

/* Learn more links under the homepage service cards */
.service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #b07f0a;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.service-learn-more::after {
    content: '\2192';
    transition: transform 0.2s ease;
}

.service-learn-more:hover {
    color: #000;
}

.service-learn-more:hover::after {
    transform: translateX(3px);
}

/* Screen-reader helper */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 12px 20px;
    clip: auto;
    background: #FDB827;
    color: #000;
    font-weight: 600;
    border-radius: 4px;
}

/* Light variant for use on the dark slider panels */
.service-learn-more--light {
    color: #FDB827;
}

.service-learn-more--light:hover {
    color: #fff;
}

.slide-content .service-learn-more {
    margin-left: 16px;
}

/* WordPress custom logo, when one is set in the Customizer */
.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}
