body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #2E8B57; /* Primary green for headings */
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2E8B57;
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}
@media screen and (width < 576px) {
    .section-title {
        font-size: 1.7rem;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFA500; /* Accent color */
    border-radius: 2px;
}

.highlight {
    color: #FFA500; /* Accent color for highlighted words */
    font-weight: 700;
}

/* Navbar */
.navbar {
    transition: background-color 0.3s ease-in-out;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-logo {
    height: 40px;
    transition: height 0.3s ease-in-out;
}

.navbar.scrolled {
    background-color: rgba(46, 139, 87, 0.95); /* Darker green with transparency */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar.scrolled .navbar-logo {
    height: 30px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #FFA500;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('static/pics/in_with_in_barn_multicolored_feathers_rustic_background_chickens_and_colorful_farmyard_of_flock.jpg') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    padding: 100px 0 50px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}
@media screen and (width < 768px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
}

.hero-section p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary-custom {
    background-color: #FFA500; /* Accent color */
    border-color: #FFA500;
    color: #fff;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #FF8C00;
    border-color: #FF8C00;
    color: #fff;
}

/* About Section - Timeline */
.about-section {
    background-color: #fff;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #e9ecef;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 50px;
    text-align: left;
}

.timeline-item:nth-child(even) {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: 50px;
    text-align: right;
}
@media screen and (width > 767px) {
    .timeline-item:nth-child(3),
    .timeline-item:nth-child(5) {
        margin-top: -100px;
    }
    .timeline-item:nth-child(2) {
            margin-top: 100px;

    }
}

.timeline-item .timeline-content {
    background: #f5f5dc; /* Soft beige */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.timeline-item .timeline-date {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    color: #2E8B57;
    margin-bottom: 5px;
}

.timeline-item .timeline-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #2E8B57;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: 50%;
}

@media (max-width: 767.98px) {
    .timeline::before {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-item {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item .timeline-icon {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: 20px;
    }
}

/* Services & Features Sections - Tabs */
.services-section, .features-section {
    background-color: #f8f9fa;
}

.nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

.nav-tabs .nav-item .nav-link {
    color: #333;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-tabs .nav-item .nav-link.active,
.nav-tabs .nav-item .nav-link:hover {
    color: #2E8B57;
    border-color: #2E8B57;
    background-color: transparent;
}

.tab-content {
    padding: 30px 0;
}

.tab-content img {
    max-height: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.service-list li {
    margin-bottom: 10px;
    color: #555;
}

.service-list li i {
    color: #2E8B57;
    margin-right: 10px;
}

/* Portfolio Section (Gallery) */
.gallery-section {
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
@media screen and (width > 1199.98px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    }

}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 139, 87, 0.8); /* Primary green with transparency */
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

/* Gallery Modal */
#galleryModal .modal-body img {
    max-height: 80vh;
    object-fit: contain;
}

/* Team Section */
.team-section {
    background-color: #f8f9fa;
}

.team-member-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-member-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #2E8B57;
}

.team-member-card h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    color: #2E8B57;
}

.team-member-card .social-icons {
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .social-icons {
    opacity: 1;
}

.team-member-card .social-icons a {
    color: #FFA500;
    font-size: 1.5rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.team-member-card .social-icons a:hover {
    color: #2E8B57;
}

/* Industries Section */
.industries-section {
    background-color: #fff;
}

.industry-card {
    background-color: #f5f5dc;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.industry-icon {
    font-size: 3rem;
    color: #2E8B57;
}

.stats-block .stat-number {
    color: #FFA500;
    font-weight: bold;
}

.stats-block .stat-text {
    display: block;
    font-size: 1.1rem;
    color: #555;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonial-card {
    background-color: #fff;
    border-left: 5px solid #2E8B57;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.testimonial-icon {
    font-size: 2.5rem;
    color: #FFA500;
    margin-bottom: 15px;
    display: block;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #2E8B57;
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-form .form-control,
.contact-form .form-control:focus {
    border-color: #ced4da;
    box-shadow: none;
}

.contact-form .form-control:focus {
    border-color: #2E8B57;
}

.contact-info p {
    margin-bottom: 10px;
    color: #555;
}

.contact-info a {
    color: #2E8B57;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background-color: #2E8B57; /* Primary green */
    color: #fff;
    padding-top: 50px;
    padding-bottom: 20px;
}

.footer-logo {
    height: 50px;
}

.main-footer h5 {
    color: #FFA500;
    margin-bottom: 20px;
    font-weight: bold;
}

.main-footer ul {
    padding-left: 0;
    list-style: none;
}

.main-footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.main-footer ul li a:hover {
    color: #FFA500;
}

.main-footer .social-icons-footer li a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.main-footer .social-icons-footer li a:hover {
    color: #FFA500;
}

.main-footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#cookieConsentModal .modal-header {
    background-color: #2E8B57;
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#cookieConsentModal .modal-title {
    font-weight: bold;
}

#cookieConsentModal .modal-body {
    padding: 25px;
}

#cookieConsentModal .form-check {
    margin-bottom: 10px;
}

#cookieConsentModal .form-check-input:checked {
    background-color: #2E8B57;
    border-color: #2E8B57;
}

#cookieConsentModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 15px 25px;
}

#cookieConsentModal .btn-primary {
    background-color: #FFA500;
    border-color: #FFA500;
}

#cookieConsentModal .btn-primary:hover {
    background-color: #FF8C00;
    border-color: #FF8C00;
}

#cookieConsentModal .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

#cookieConsentModal .btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

#cookieConsentModal .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

/* Styles for the main container */
.secureTermsHub {
    padding: 40px 20px; /* Top/bottom and side padding */
    margin: 0 auto; /* Center the container */
    max-width: 960px; /* Max width for readability */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

/* Heading styles */
.secureTermsHub h1 {
    font-size: 2.2rem; /* Moderate font size for H1 */
    margin-bottom: 1.5rem; /* Space below heading */
    color: #2E8B57; /* Primary green color */
}

.secureTermsHub h2 {
    font-size: 1.8rem; /* Moderate font size for H2 */
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1.2rem; /* Space below heading */
    color: #2E8B57;
}

.secureTermsHub h3 {
    font-size: 1.5rem; /* Moderate font size for H3 */
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: #2E8B57;
}

.secureTermsHub h4 {
    font-size: 1.3rem; /* Moderate font size for H4 */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #2E8B57;
}

.secureTermsHub h5 {
    font-size: 1.1rem; /* Moderate font size for H5 */
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: #2E8B57;
}

/* Paragraph styles */
.secureTermsHub p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Good line height for readability */
    margin-bottom: 1rem; /* Space below paragraph */
    color: #333; /* Dark grey for text */
}

/* Unordered list styles */
.secureTermsHub ul {
    list-style: disc; /* Default disc bullet points */
    margin-bottom: 1rem; /* Space below the list */
    padding-left: 25px; /* Indent list items */
    color: #333;
}

/* List item styles */
.secureTermsHub li {
    font-size: 1rem; /* Standard list item font size */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Space between list items */
    color: #333;
}
.footer-logo-link {
    text-decoration: none;
    color: #ede9e9;
    font-size: 22px;
}
@media screen and (width <992px){
    #navbarNav {
        border-radius: 10px;
        background: #3f3b3b;
        border: solid 1px #ffffff57;
        padding: 20px;
    }
}