@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700;1,800&amp;family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,500;1,700&amp;display=swap');

:root {
    /* Primary color palette */
    --primary-color: #2871C6;
    --secondary-color: #29752D;
    --accent-color: #FFCD38;
    --text-dark: #000000;
    --text-light: #333333;
    --bg-light: #f8f9fa;
    
    /* Color variables for gold, green, black theme */
    --gold-color: #F2C60B;
    --gold-dark: #e6b82e;
    --green-color: #29752D;
    --green-light: #2e8b33;
    --black-color: #000000;
    --black-light: #333333;
    
    /* Gradient definitions */
    --gradient-gold: linear-gradient(135deg, #F2C60B 0%, #e0b80e 100%);
    --gradient-green: #29752D;
    --gradient-blue: linear-gradient(135deg, #2871C6 0%, #1a5aa3 100%);
    --gradient-black: linear-gradient(135deg, #000000 0%, #333333 100%);
    
    /* Shadow definitions */
    --shadow-light: 0 5px 15px rgba(0,0,0,0.15);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.2);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.25);
    
    /* Header variables */
    --header-bg: #ffffff;
    --topbar-bg: #29752D;
    --menu-text: #000000;
    --menu-hover: #29752D;
    --border-color: #e0e0e0;
}

/* 1. Theme default css */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: normal;
    color: var(--text-light);
    font-style: normal;
    line-height: 24px;
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-blue);
    border: none;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gradient-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Links */
a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 50px;
}

/* Footer */
.footer {
    background: #29752D;
    color: white;
    padding: 40px 0 20px;
}

.footer a {
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--gold-color);
    opacity: 1;
    text-decoration: none;
}

main {
    overflow: visible !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    margin-top: 0px;
    font-style: normal;
    font-weight: 600;
    text-transform: normal;
}

h1 { font-size: 40px; font-weight: 600; }
h2 { font-size: 35px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Links */
a {
    color: var(--text-dark);
    transition: all 0.3s ease-out 0s;
}

a:hover {
    color: var(--green-color);
}

/* Buttons */
.btn {
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 0;
    padding: 20px 30px;
    text-align: center;
    text-transform: capitalize;
    touch-action: manipulation;
    transition: all 0.3s ease 0s;
    vertical-align: middle;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    background: var(--green-color);
    border: 1px solid var(--green-color);
    overflow: hidden;
}

.btn:hover {
    color: #fff;
    border-color: var(--gold-color);
}

.btn::before {
    width: 40px;
    height: 40px;
    position: absolute;
    border-radius: 50%;
    content: "";
    background: var(--gold-color);
    top: -60px;
    left: 10px;
    z-index: -1;    
    transition: all 0.3s ease 0s;
}

.btn:hover::before {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 4px;
    content: "";
    background: var(--gold-color);
    top: 0;
    left: 0;
    z-index: -1;
}

/* Header and Navigation */
body {
    padding-top: 90px;
}

/* Top Header Bar */
.header-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1049;
    background-color: var(--topbar-bg);
    color: white;
    font-size: 0.72rem;
    padding: 2px 0;
    height: 24px;
    transition: background-color 0.3s ease;
}

.header-top a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.72rem;
    transition: all 0.2s ease;
}

.header-top a:hover {
    color: var(--accent-color);
}

.header-top .small-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-top .small-links li {
    display: inline-block;
    padding: 0 10px;
}

/* Main Header Area */
.header-area {
    position: fixed;
    top: 24px;
    width: 100%;
    z-index: 1050;
    background-color: var(--header-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-area.sticky {
    background-color: var(--header-bg) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.second-header {
    background: var(--black-color);
}

/* Logo Styles */
.logo a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

/* Desktop Menu */
.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu ul li {
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

.main-menu ul li:first-child {
    margin-left: 0;
}

.main-menu ul li a {
    padding: 10px 0;
    display: inline-block;
    text-transform: uppercase;
    color: var(--menu-text);
    font-size: 14px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Jost', sans-serif;
}

.main-menu ul li a:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--green-color);
    transition: width 0.3s ease;
}

.main-menu ul li a:hover:after,
.main-menu ul li.current a:after {
    width: 100%;
}

.main-menu ul li a:hover,
.main-menu ul li.current a,
.main-menu ul li.active a {
    color: var(--menu-hover);
    font-weight: 600;
}

/* Sub Menu */
.menu .sub-menu,
.menu .children {
    background-color: #fff;
    border-top: 4px solid var(--gold-color);
    box-shadow: 0 10px 15px rgba(25, 25, 25, 0.1);
}

.sticky-menu {
    background: #fff;
    box-shadow: 0 0 60px 0 rgba(0, 0, 0, .07);
}

/* Mobile Menu Toggler */
.navbar-toggler {
    font-size: 1.25rem;
    background: none;
    color: var(--menu-text);
    border: none;
    transition: color 0.3s ease;
}

.navbar-toggler:hover {
    color: var(--green-color);
}

/* Mobile Offcanvas Menu */
.offcanvas {
    max-width: 280px;
    background-color: var(--header-bg);
}

.offcanvas-header {
    background-color: var(--green-color);
    color: white;
}

.offcanvas-title {
    color: white;
    font-weight: 600;
}

.nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    color: var(--menu-text);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--green-color);
    background-color: rgba(34, 139, 34, 0.1);
}

/* Mobile Quick Links Buttons */
.offcanvas .btn {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 4px;
    border-color: var(--green-color);
    color: var(--green-color);
    transition: all 0.3s ease;
}

.offcanvas .btn:hover {
    background-color: var(--green-color);
    color: white;
    transform: translateY(-1px);
}

/* Section Titles */
.section-title h5 {
    color: var(--green-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 50px;
    padding-bottom: 0;
    margin-bottom: 0px !important;
    position: relative;
}

/* Features and Services */
.features-services-area .container {
    background-color: #fff;
    box-shadow: var(--shadow-light);
}

.services-box {
    background: #fff;
}

.services-box a:hover {
    color: var(--green-color);
}

/* Service Details Section */
.service-details-two {
    padding: 80px 0;
    background: transparent;
}

/* Floating Features - Override for floating effect */
section.service-details-two.floating-features {
    position: relative !important;
    margin-top: -120px !important;
    margin-bottom: 0 !important;
    z-index: 999 !important;
    padding: 0 0 60px 0 !important;
    background: transparent !important;
}

/* Slider area adjustments for floating features */
.slider-area {
    padding-bottom: 140px !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
}

.slider-area .single-slider {
    min-height: 500px !important;
}

.services-box07 {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.services-box07.active {
    background: var(--gradient-green);
    color: #fff;
}

.services-box07.active h5,
.services-box07.active p {
    color: #fff;
}

.services-box07 .sr-contner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services-box07 .icon {
    margin-bottom: 20px;
}

.services-box07 .icon img {
    max-width: 80px;
    height: auto;
}

.services-box07 .text h5 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.services-box07 .text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* About Section */
.about-title > span {
    background: var(--green-color);
    color: #fff;
}

.about-title h5 {
    color: var(--green-color);
}

.about-text {
    background: var(--green-color);
}

.about-text::after {
    background: var(--gold-color);
}

/* Testimonials */
.testimonial-active .testi-author img {
    border: 2px solid var(--gold-color);
}

/* Footer */
.footer-bg {
    background: var(--black-color);
    color: #777;
}

.f-widget-title h2::before,
.footer-widget .widgettitle::before {
    background: var(--gold-color);
}

.footer-link ul li a::before {
    color: var(--gold-color);
}

.footer-social a:hover {
    background: var(--green-color);
}

.copyright-wrap {
    background: var(--green-color);
}

/* Form Elements */
.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--gold-color);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--green-color);
}

.breadcrumb-title h2 {
    color: #fff;
}

/* Pagination */
.pagination .page-item:hover a.page-link,
.page-item:hover .page-link,
.pagination .page-item.active a.page-link,
.page-item.active .page-link {
    background: var(--green-color);
}

/* Scroll to Top */
#scrollUp {
    background: var(--green-color);
}

#scrollUp:hover {
    background: var(--gold-color);
}

/* Additional Element Styling */
.mean-container .mean-nav ul li.current a,
.header-cta ul li i,
.slider-active .slick-dots li.slick-active button,
.services-content span,
.team-info span,
.blog-content h4:hover a,
.faq-wrap .card-header h2 button::after {
    color: var(--green-color);
}

.cta-title h2 span {
    color: var(--gold-color);
}

/* Utility Classes */
.text-left { text-align: left !important; }
.f-left { float: left; }
.f-right { float: right; }
.fix { overflow: hidden; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.p-relative { position: relative; }

/* Responsive adjustments */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }
    
    .header-area {
        top: 0;
        padding: 5px 0;
    }
    
    .header-top {
        display: none !important;
    }
    
    .logo img {
        max-height: 35px !important;
    }
    
    .main-menu ul li {
        margin: 0 8px;
    }
    
    .main-menu ul li a {
        font-size: 13px;
    }

    /* Floating features responsive */
    .service-details-two.floating-features {
        margin-top: -80px !important;
    }

    /* Slider responsive */
    .slider-area {
        padding-bottom: 100px !important;
    }

    .slider-area .single-slider {
        min-height: 450px !important;
    }
}

@media (max-width: 768px) {
    .offcanvas {
        max-width: 75%;
    }
    
    body {
        padding-top: 60px;
    }
    
    .section-title h2 {
        font-size: 35px;
    }

    /* Floating features responsive */
    section.service-details-two.floating-features {
        margin-top: -40px !important;
        margin-bottom: 0 !important;
        padding: 0 0 40px 0 !important;
    }

    /* Slider responsive */
    .slider-area {
        padding-bottom: 60px !important;
    }

    .slider-area .single-slider {
        min-height: 400px !important;
    }
}

@media (max-width: 575.98px) {
    .logo img {
        max-height: 30px !important;
    }
}

/* Animation Keyframes */
@keyframes alltuchtopdown {
    0% { transform: rotateX(0deg) translateY(0px); }
    50% { transform: rotateX(0deg) translateY(-20px); }
    100% { transform: rotateX(0deg) translateY(0px); }
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}