/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* A4 Container */
.a4-container {
    width: 210mm;
    height: 297mm;
    background-color: white;
    margin: 0 auto;
    padding: 10mm;
    border: 1px solid #ccc;
    box-sizing: border-box;
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
}

.column {
    width: 49%;
    height: 100%;
    float: left;
    margin-right: 2%;
}

.column:last-child {
    margin-right: 0;
    width: 49%;
}

.svg-container {
    position: relative;
    width: 100%;
    height: 155px;
    margin-bottom: 0.5rem;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;

    min-width: 100%;
    max-width: none;
    background-color: white;
    pointer-events: none;
}

.svg-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    background-color: white;
    overflow: visible;

    min-width: 100%;
    max-width: none;
}

.svg-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    background-color: white;
    overflow: hidden;

}



/* Ensure SVGs maintain their own styling */
.svg-image-wrapper iframe {
    display: block;
    width: auto;
    height: 155px;
    border: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-scrollbar {
        display: none;
    }
}

/* Remove any potential scrollbars */
.svg-image-wrapper {
    overflow: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-scrollbar {
        display: none;
    }
}

/* Remove placeholder styles since we're using iframes */
.svg-image-wrapper svg,
.svg-image-wrapper svg * {
    display: none;
}



/* Style for inline SVGs */
.svg-image-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* Ensure SVG content scales properly */
.svg-image-wrapper svg * {
    vector-effect: non-scaling-stroke;
}

/* Force SVG content to fit within container */
.svg-image-wrapper svg {
    width: auto;
    height: 150px;
    object-fit: contain;
}

.svg-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.svg-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    pointer-events: none;
}

.svg-placeholder svg circle {
    fill: #ddd;
}





/* Custom Navbar Styles */
.navbar {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #2196F3;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-control:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

/* About Page Styles */
.about-content {
    margin-top: 2rem;
}

.about-sidebar {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

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

.social-icon {
    color: #333;
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #2196F3;
}

.svg-container svg circle {
    transition: fill 0.3s ease;
}

.svg-container:hover svg circle {
    fill: #2196F3;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
}

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

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

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

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

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

.social-icon {
    font-size: 1.5rem;
    color: #fff;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #2196F3;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links a {
        margin: 0.5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
