/* General Styles */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6em;
    color: #656565;
    background-color: white;
    margin: 0;
    padding: 0;
    position: relative;
    will-change: transform;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Allerta', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.1em;
    color: #333;
    margin-bottom: 20px;
}



.container {
    padding: 0 20px;
    position: relative;
}

img.custom-img {
    max-width: 100%;
    width: 70%;
    height: auto;
    display: block;
    margin: 20px auto 0;
}

/* Navbar */
.navbar {
    background-color: #101B42; /* Match color from about page */
    backdrop-filter: blur(5px);
    min-height: 70px;
    padding: 18px 0;
    margin-bottom: 0;
}

.navbar-default .navbar-nav {
    float: right;
}

.navbar-default .navbar-nav > li > a {
    color: #FFF;
    font-weight: 700;
}

.navbar-brand {
    font-family: 'Work Sans', Arial, sans-serif;
    color: #2FADDE;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1px;
    padding: 0 15px;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
    background-color: transparent;
    color: #FFC800;
}

/* Carousel Adjustments */
.carousel {
    margin-top: -40px; /* Push image down even further to reduce cropping */
}

.carousel-inner img {
    object-fit: cover;
    height: auto;
    width: 100%;
    padding-top: 20px; /* Adds more space between navbar and image */
}

/* Accordion (Key Features) */
.panel-group .panel {
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #fff;
    margin-bottom: 5px; /* Reduce spacing between boxes */
}

.panel-heading {
    padding: 0;
    border-radius: 5px;
}

.panel-title a {
    display: block;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #666; /* Gray text */
    text-decoration: none;
    transition: color 0.3s ease;
}

.panel-title a:hover {
    color: #2FADDE; /* Light Blue Hover Effect */
}

.panel-title a i {
    margin-right: 8px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.panel-title a::before {
    content: '\25B6'; /* Unicode arrow head */
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.panel-title a:hover::before {
    color: #2FADDE;
}

.panel-collapse {
    border-top: 1px solid #ddd;
    background-color: #fff;
    padding: 10px;
    border-radius: 0 0 5px 5px;
}

.panel-body {
    padding: 15px;
    font-size: 14px;
    color: #555;
}

/* Service Blocks */
.container.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    transform: translateX(-11.5px); /* Adjust as needed */
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.service-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Centered Info Blocks */
.info-blocks {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.info-blocks-in {
    text-align: center;
    max-width: 300px;
}

/* Footer */
footer {
    
    width: 100%;
    max-width: 100vw;
    background-color: #101B42;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    overflow-x: hidden;
    box-sizing: border-box;

	
}

/* Middle Section */
.middle-section {
    width: 100%;
    background-color: #101B42;
    color: white;
    padding: 20px 0;
    margin: 0;
}

.middle-section .container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 15px;
}

/* Buttons */
.btn {
    text-align: center;
    background: #E9931B;
    border: none;
    padding: 8px 18px;
    color: white;
}

.btn:hover {
    color: #fff;
}

/* Portfolio */
.work-nav #filters {
    margin: 0;
    padding: 0;
    list-style: none;
}

.work-nav #filters li {
    float: left;
    margin: 0 10px 30px 0;
}

.work-nav #filters li a {
    color: #7F8289;
    font-size: 16px;
    display: block;
}

/* Scroll to Top Button */
.scrollup {
    position: fixed;
    width: 32px;
    height: 32px;
    bottom: 0px;
    right: 20px;
    background: #222;
    text-align: center;
}

.scrollup i {
    margin-top: 10px;
    color: white;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .navbar-brand {
        margin-top: 10px;
        padding: 10px 15px;
        height: 50px;
        line-height: 30px;
    }
    
    .navbar-header {
        margin-top: 20px;
        height: 50px;
    }
    
    .navbar-nav {
        float: none;
        width: 100%;
    }
}

.container.content {
    max-width: 1200px;
    margin: 0 auto; /* Ensure it's centered */
    padding: 20px;
}

.row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.service-item, .info-blocks {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; /* Adds equal spacing */
}

.info-blocks-in {
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.service-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.about-logo {
    text-align: left;
}

/* Make the Contact Form Span More Width */
.contact-form {
    max-width: 80%; /* Makes form take up 80% of the screen */
    margin: auto; /* Centers the form */
}

/* Widen Input Fields and Textarea */
.contact-form .form-control {
    width: 100%; /* Makes input fields full width */
    max-width: 100%; /* Ensures they don't shrink */
    padding: 12px; /* Increases padding for better appearance */
    font-size: 16px; /* Larger font for better readability */
}

/* Make the Message Box Taller */
.contact-form textarea {
    min-height: 180px; /* Taller message box */
}

/* Custom Yellow Button Styling */
.btn-custom {
    background-color: #FFC800; /* Your site's yellow */
    color: #101B42; /* Dark blue text for contrast */
    font-size: 16px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Button Hover Effect */
.btn-custom:hover {
    background-color: #E6B500; /* Slightly darker yellow on hover */
    transform: scale(1.05); /* Slight grow effect */
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}