/* Global Styles */
:root {
    /* Main color scheme */
    --primary-blue: #0047AB;
    --primary-blue-dark: #003C8F;
    --accent-orange: #FF7F00;
    --accent-orange-dark: #E67300;
    --neutral-gray: #F5F5F5;
    --dark-gray: #333333;

    /* Additional colors used in the design */
    --white: #FFFFFF;
    --light-gray: #E0E0E0;
    --medium-gray: #718096;

    /* Font families */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;

                                                                                                                                                                                                                                                                                                           
     /* Footer Colors */                                                                                                                                                                                                                                                                               
     --footer-text: #333333; /* Dark grey text for better readability */                                                                                                                                                                                                                                      
     --footer-link: #4A90E2; /* Light blue for links */                                                                                                                                                                                                                                                
     --footer-icon: #333333; /* Dark grey icons to match text */                                                                                                                                                                                                                                     
                                             
}

/* Apply custom properties to utility classes */
.bg-neutral-gray {
    background-color: var(--neutral-gray);
}

.text-primary-blue {
    color: var(--primary-blue);
}

.text-dark-gray {
    color: var(--dark-gray);
}

.bg-dark-gray {
    background-color: var(--dark-gray);
}

.text-light-gray {
    color: var(--light-gray);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue), var(--accent-orange));
}

.bg-white-transparent {
    background-color: rgba(255, 255, 255, 0.2);
}

.text-white {
    color: var(--white);
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--neutral-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 36px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

p {
    font-size: 16px;
    font-weight: 400;
}

.small-text {
    font-size: 14px;
    font-weight: 300;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
#jbg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

#jbg-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}

#jbg-header-top {
    background-color: var(--primary-blue);
    padding: 0.5rem 1rem;
}

#jbg-header-contact {
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
}

#jbg-header-contact a {
    color: white;
    margin-left: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

#jbg-header-contact i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

#jbg-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

#jbg-logo img {
    height: auto;
    width: 200px;
    max-width: 100%;
}

#jbg-nav-menu {
    display: flex;
    list-style-type: none;
}

#jbg-nav-menu > li {
    margin-left: 1.5rem;
    position: relative;
}

#jbg-nav-menu a {
    color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

#jbg-nav-menu a:hover {
    color: var(--accent-orange);
}

#jbg-nav-menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#jbg-nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    min-width: 500px; /* Increased to accommodate longer items */
    z-index: 10;
    border-radius: 8px;
}

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

.dropdown-menu li {
    padding: 0.5rem 1rem;
    width: 100%; /* Ensure each list item spans the full width */
}

.dropdown-menu a {
    color: var(--primary-blue);
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
    white-space: nowrap; /* Prevent wrapping */
    display: block; /* Ensure the entire area is clickable */
}

.dropdown-menu a:hover {
    color: var(--accent-orange);
    background-color: var(--neutral-gray);
}

.dropdown-menu .grid {
    gap: 0; /* Remove gap between columns */
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
        background-color: transparent;
        border-radius: 0;
    }

    .dropdown-menu li {
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        color: var(--primary-blue);
    }

    .dropdown-menu a:hover {
        background-color: transparent;
    }
}

#jbg-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

#jbg-mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    #jbg-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    #jbg-nav-menu.active {
        display: flex;
    }

    #jbg-nav-menu > li {
        margin: 0.5rem 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }

    #jbg-mobile-menu-toggle {
        display: block;
    }
}

/* Hero Section Styles */
#jbg-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6, #ffd700);
}

#jbg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 8s infinite;
}

#jbg-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 10 L20 30 M10 20 L30 20' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 20px 20px, 20px 20px, 40px 40px;
    opacity: 0.2;
    animation: float 20s linear infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.5; }
    100% { opacity: 0.3; }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.jbg-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    color: white;
    padding: 0 20px;
}

#particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#jbg-hero-headline {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

#jbg-hero-subheadline {
    font-size: 24px;
    margin-bottom: 2rem;
    max-width: 800px;
    line-height: 1.4;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta-form {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeIn 1s ease-out 1s both;
}

#contact-info {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border: 2px solid white;
    border-radius: 50px 0 0 50px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    width: 250px;
}

#contact-info::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#jbg-hero-cta {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 0 50px 50px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    background-color: var(--accent-orange);
    color: white;
}

#jbg-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: var(--accent-orange-dark);
}

@media (max-width: 768px) {
    .hero-cta-form {
        flex-direction: column;
        align-items: center;
    }

    #contact-info {
        width: 100%;
        max-width: 300px;
        border-radius: 50px;
        margin-bottom: 1rem;
    }

    #jbg-hero-cta {
        border-radius: 50px;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    #jbg-hero-headline {
        font-size: 2.5rem;
    }

    #jbg-hero-subheadline {
        font-size: 1.2rem;
    }

    #jbg-hero-cta {
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
    }
}

/* Services Section Styles */
#jbg-services {
    background-color: white;
}

#jbg-services .container {
    max-width: 1200px;
}

#jbg-services h2 {
    color: var(--primary-blue);
}

#jbg-services p {
    color: var(--dark-gray);
}

#jbg-services .fas {
    color: var(--primary-blue);
}

#jbg-services .bg-white {
    transition: all 0.3s ease;
}

#jbg-services .bg-white:hover {
    transform: translateY(-5px);
}

#jbg-services .text-blue-600 {
    color: var(--primary-blue);
}

#jbg-services .hover:text-blue-800:hover {
    color: var(--accent-orange);
}

#jbg-services .bg-blue-600 {
    background-color: #2563eb;
}

#jbg-services .hover:bg-blue-700:hover {
    background-color: #1d4ed8;
}

@media (max-width: 768px) {
    #jbg-services {
        padding: 4rem 1rem;
    }

    #jbg-services h2 {
        font-size: 2.5rem;
    }

    #jbg-services .text-xl {
        font-size: 1.1rem;
    }
}

/* Who We Are Section Styles */
/* Tailwind classes are used in the HTML, so no custom CSS is needed for this section */

/* Testimonials Section Styles */
#jbg-testimonials {
    background-color: var(--white);
}

#jbg-testimonials .container {
    max-width: 1200px;
}

#jbg-testimonials blockquote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    position: relative;
    font-style: italic;
    border-left: 3px solid var(--primary-blue);
    padding-left: 1rem;
}

#jbg-testimonials blockquote::before,
#jbg-testimonials blockquote::after {
    content: '"';
    font-size: 2rem;
    color: var(--secondary-blue);
    opacity: 0.2;
    position: absolute;
}

#jbg-testimonials blockquote::before {
    top: -1rem;
    left: -0.5rem;
}

#jbg-testimonials blockquote::after {
    bottom: -1.5rem;
    right: -0.5rem;
}

#jbg-testimonials cite {
    font-style: normal;
}

#jbg-testimonials .fas {
    color: var(--primary-blue);
    opacity: 0.8;
}

#view-more-testimonials:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #jbg-testimonials {
        padding: 4rem 1rem;
    }

    #jbg-testimonials blockquote {
        font-size: 0.9rem;
    }
}

/* CTA Section Styles */
#jbg-cta {
    padding: 8rem 2rem;
    text-align: center;
    background-color: var(--primary-blue);
    color: var(--tertiary);
    position: relative;
    overflow: hidden;
}

/* Add a gradient overlay to create a transition effect */
#jbg-cta::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--quaternary));
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jbg-cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#jbg-cta h2 {
    font-size: 48px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: white;
}

#jbg-cta p {
    font-size: 18px;
    margin-bottom: 2rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-weight: 300;
    color: white;
}

#jbg-cta-form {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

#jbg-cta-form input[type="email"] {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid white;
    border-radius: 50px 0 0 50px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

#jbg-cta-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-cta {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #E67300;
    transform: scale(1.05);
}

.cta-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.benefit-item span {
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

@media (max-width: 768px) {
    #jbg-cta {
        padding: 6rem 1rem;
    }

    #jbg-cta h2 {
        font-size: 36px;
    }

    #jbg-cta p {
        font-size: 16px;
    }

    #jbg-cta-form {
        flex-direction: column;
    }

    #jbg-cta-form input[type="email"] {
        width: 100%;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .btn-cta {
        width: 100%;
        border-radius: 8px;
    }

    .cta-benefits {
        gap: 1rem;
    }

    .benefit-item i {
        font-size: 1.5rem;
    }

    .benefit-item span {
        font-size: 0.8rem;
    }
}

/* Footer Styles */
#jbg-footer {
    background-color: var(--footer-background);
    color: var(--footer-text);    
    position: relative;
    font-size: 0.9rem; /* Reduce overall font size */
}

.footer-gradient-line {
    height: 3px;
    background: linear-gradient(to right, var(--accent-orange), #ffffff);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Reduce minimum column width */
    gap: 1.5rem; /* Reduce gap between columns */
    padding: 3rem 1.5rem; /* Reduce padding */
}

.footer-column h3 {
    color: var(--primary-blue);
    font-size: 1.1rem; /* Reduce heading size */
    margin-bottom: 1rem; /* Reduce margin */
    font-weight: 600;
}

#jbg-footer p {
    margin-bottom: 0.5rem; /* Reduce margin */
    font-size: 0.85rem; /* Reduce font size */
    color: var(--footer-text);
    line-height: 1.4; /* Adjust line height for better readability */
    padding-left: 30px; /* Add padding to align with the icon */
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.custom-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: top;
    float: left;
}

.location-icon {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%232563eb"><path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd" /></svg>') no-repeat center center;
}

.phone-icon {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%232563eb"><path d="M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z" /></svg>') no-repeat center center;
}

.email-icon {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%232563eb"><path d="M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z" /><path d="M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z" /></svg>') no-repeat center center;
}

.two-column-links {
    display: flex;
    justify-content: space-between;
}

.two-column-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.two-column-links li {
    margin-bottom: 0.75rem;
}

.two-column-links a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 0.85rem; /* Reduce font size */
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 2px 0; /* Add padding for hover effect */
}

.two-column-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px; /* Reduce underline thickness */
    bottom: 0;
    left: 0;
    background-color: var(--accent-orange);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.two-column-links a:hover {
    color: var(--accent-orange);
    transform: translateX(3px); /* Reduce hover movement */
}

.two-column-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 28px; /* Reduce icon size */
    height: 28px;
    background-size: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.05) translateY(-1px); /* Reduce hover effect */
    filter: brightness(1.2);
}

.facebook-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="var(--footer-icon)"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>');
}

.twitter-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="var(--footer-icon)"><path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/></svg>');
}

.linkedin-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="var(--footer-icon)"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>');
}

#jbg-newsletter-signup {
    background-color: #e6f0ff;
    padding: 2rem;
    border-radius: 8px;
}

#jbg-newsletter-signup form {
    display: flex;
    margin-top: 1rem;
}

#jbg-newsletter-signup input[type="email"] {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #2563eb;
    border-radius: 0.25rem 0 0 0.25rem;
    background-color: white;
}

#jbg-newsletter-signup button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 0 0.25rem 0.25rem 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#jbg-newsletter-signup button:hover {
    background-color: #1d4ed8;
}

.privacy-notice {
    font-size: 0.8rem;
    color: #718096;
    margin-top: 0.5rem;
}

.footer-bottom {
    background-color: var(--quinary);
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: var(--footer-text);
}

.footer-bottom a {
    color: var(--footer-link);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .two-column-links {
        flex-direction: column;
    }

    .social-icons {
        justify-content: center;
    }

    #jbg-newsletter-signup form {
        flex-direction: column;
    }

    #jbg-newsletter-signup input[type="email"] {
        border-radius: 0.25rem;
        margin-bottom: 0.5rem;
    }

    #jbg-newsletter-signup button {
        border-radius: 0.25rem;
    }

    .custom-icon {
        display: block;
        margin: 0 auto 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #jbg-header nav {
        flex-direction: column;
    }

    #jbg-nav-menu {
        margin-top: 1rem;
    }

    #jbg-header-contact {
        margin-top: 1rem;
    }

    #jbg-hero-headline {
        font-size: 2rem;
    }

    #jbg-hero-subheadline {
        font-size: 1.2rem;
    }
}

/* Control Panel Styles */

.control-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
}

/* Content Cards Styles */
#content-cards-container {
    margin-top: 20px;
}

.content-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-content {
    flex-grow: 1;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.edit-btn, .delete-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.edit-btn {
    background-color: #4CAF50;
    color: white;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

.edit-btn:hover, .delete-btn:hover {
    opacity: 0.8;
}

.control-panel-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-blue);
}

#close-panel {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

#close-panel:hover {
    color: var(--primary-blue);
}

.control-panel-content {
    padding: 24px;
    max-height: calc(100% - 180px);
    overflow-y: auto;
}

.control-panel-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #444;
}

.control-panel-content label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.theme-section {
    margin-bottom: 30px;
}

.theme-section h4 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.theme-preview {
    height: 100px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.theme-presets {
    display: flex;
    gap: 10px;
}

.theme-preset {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-preset:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 15px;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.tab-button.active {
    background-color: var(--primary-blue);
    color: white;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

#screenshot-preview {
    margin-top: 20px;
    max-width: 100%;
    overflow: auto;
}

#screenshot-preview img {
    max-width: 100%;
    border: 1px solid #ccc;
}

/* Modal Styles */
.service-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modal.show {
    display: block !important;
    opacity: 1;
}

/* Debug styles */
.service-modal {
    border: 2px solid red;
}

.service-modal-content {
    border: 2px solid green;
}

.service-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.color-pickers, .font-settings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.color-pickers label, .font-settings label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.color-picker-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.color-picker-item label {
    flex: 1;
    margin-right: 10px;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    margin-right: 10px;
    border: 2px solid #ddd;
}

.color-input {
    flex: 2;
}

.color-input input[type="text"] {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

input[type="color"] {
    width: 60px;
    height: 36px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

input[type="color"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.color-description {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

select, input[type="range"] {
    width: 180px;
    height: 36px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 0.9rem;
    background-color: #fff;
    transition: all 0.3s ease;
}

select:hover, input[type="range"]:hover {
    border-color: var(--primary-blue);
}

input[type="range"] {
    -webkit-appearance: none;
    background: #e0e0e0;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    cursor: pointer;
    border-radius: 50%;
}

.control-panel-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: var(--dark-gray);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Modal Styles */
.service-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modal.show {
    display: block;
    opacity: 1;
}

.service-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
