:root {
    --corporate-green: #3baa36;
    --corporate-green-dark: #2d8a2a;
}

.team-img-placeholder {
    height: 350px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a4d2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-img-placeholder::after {
    content: '\f004';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 300;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    transform: rotate(-15deg);
}

/* Header Top */
.header-top {
    position: relative;
    background-image: url('../ust.svg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    /* Darker semi-transparent black overlay */
    z-index: 1;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

body.sidebar-open {
    overflow: hidden !important;
}

.header-top {
    background-image: url('../ust.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Remove negative margins that cause horizontal scroll */
    margin-left: 0;
    margin-right: 0;
}

.header-top .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info {
    display: flex;
    gap: 30px;
    /* Increased gap for better separation */
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
}

.header-top-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    /* Reset line height for perfect alignment */
}

.header-top-info-item i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    /* Ensure icon is flex to center content if needed */
    align-items: center;
}

.header-top-info-item a,
.header-top-info-item span {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-top-info-item a:hover {
    color: #f0f0f0;
    opacity: 0.9;
}

/* Header Top Social */
.header-top .header-social ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.header-top .header-social ul li {
    display: flex;
    align-items: center;
}

.header-top .header-social ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.header-top .header-social ul li a:hover {
    background: var(--corporate-green);
    color: #fff;
    transform: translateY(-2px);
}

/* Process Card Styles */
.process-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 170, 54, 0.3);
}

.process-number {
    font-size: 60px;
    font-weight: 800;
    color: rgba(59, 170, 54, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
    font-family: var(--title-font);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 170, 54, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.process-card:hover .process-icon {
    background: var(--corporate-green);
    transform: scale(1.1) rotate(5deg);
}

.process-icon i {
    font-size: 32px;
    color: var(--corporate-green);
    transition: all 0.4s ease;
}

.process-card:hover .process-icon i {
    color: #fff;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2D3134;
}

.process-desc {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Section Title Styles */
.section-sub-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

/* Footer Styles */
.footer-area {
    background-color: #1a1a1a;
    color: #b0b0b0;
}

.footer-widget-title {
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--corporate-green);
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: #b0b0b0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-menu li a:hover {
    color: var(--corporate-green) !important;
    padding-left: 5px;
}

.footer-contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-info i {
    color: var(--corporate-green);
    font-size: 18px;
    margin-top: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--corporate-green);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 15px;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--corporate-green);
    box-shadow: none;
}

.newsletter-form button {
    background: var(--corporate-green);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #fff;
    color: var(--corporate-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

/* Contact Form Styles */
.form-floating>.form-control:focus,
.form-floating>.form-select:focus {
    border-color: var(--corporate-green);
    box-shadow: 0 0 0 0.25rem rgba(59, 170, 54, 0.25);
}

.form-floating>label {
    color: #6c757d;
}

.form-floating>.form-control,
.form-floating>.form-select {
    border-radius: 8px;
    border-color: #dee2e6;
}

.theme-btn-2 {
    transition: all 0.3s ease;
}

.theme-btn-2:hover {
    background-color: var(--corporate-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 170, 54, 0.3);
}

/* New Submit Button Style */
.btn-contact-submit {
    background-color: var(--corporate-green);
    color: #fff;
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    letter-spacing: 1px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(59, 170, 54, 0.2);
}

.btn-contact-submit:hover {
    background-color: var(--corporate-green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(59, 170, 54, 0.3);
}

.btn-contact-submit i {
    transition: transform 0.3s ease;
}

.btn-contact-submit:hover i {
    transform: translateX(4px) scale(1.1);
}

.btn-contact-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(59, 170, 54, 0.2);
}

/* --- Slider Styles --- */
.slide-content-wrapper {
    position: relative;
    height: 800px;
    overflow: hidden;
}

.ken-burns-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform-origin: center;
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 3rem;
}

/* Slide Up Animation */
.slide-up-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Indicators */
.carousel-indicators {
    margin-bottom: 50px;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 6px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.carousel-indicators button.active {
    background-color: var(--corporate-green) !important;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Hero Button - Corporate Style (Outline) */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    backdrop-filter: blur(5px);
}

.hero-btn-icon {
    font-size: 16px;
    transition: transform 0.25s ease;
    display: inline-block;
}

.hero-btn:hover .hero-btn-icon {
    transform: translateX(3px);
}

/* Dropdown Menu Styles */
.header-nav ul li .submenu {

    padding: 10px 0;

}

.header-nav ul li .submenu li a {
    color: #ffffff;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-nav ul li .submenu li a:hover,
.header-nav ul li .submenu li.active>a {
    background-color: var(--corporate-green);
    color: #fff !important;
    padding-left: 25px;
}

/* Slider Corporate Buttons - Simplified */
.btn-corporate-primary,
.btn-corporate-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.btn-corporate-primary {
    background-color: var(--corporate-green);
    color: #fff;
    border: 2px solid var(--corporate-green);
}

.btn-corporate-primary:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-corporate-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-corporate-secondary:hover {
    background-color: #fff;
    color: var(--corporate-green);
}

/* --- Header & Slider Fixes --- */
/* Make header transparent and absolute to overlay on slider */
.header-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Ensure menu items are dark on light semi-transparent background */
.header-1 .header-nav>ul>li>a {
    color: #2D3134 !important;
    transition: all 0.3s ease;
}

/* Hover effect for main navigation items */
.header-1 .header-nav>ul>li>a:hover {
    color: var(--corporate-green) !important;
}

/* Active Menu Item Style (Main Nav) */
.header-1 .header-nav>ul>li.active>a {
    color: var(--corporate-green) !important;
    font-weight: 600;
}

/* Sticky Header Styles - White background when scrolled */
.header-1.sticky-header {
    position: fixed;
    top: 0;
    background-color: #fff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-bottom: none;
    padding: 15px 0;
    /* Added padding for better spacing */
    animation: slideDown 0.35s ease-out;
}

/* Dark text for sticky header */
.header-1.sticky-header .header-nav>ul>li>a {
    color: #2D3134 !important;
}

.header-1.sticky-header .header-nav>ul>li>a:hover {
    color: var(--corporate-green) !important;
}

/* Active Menu Item Style in Sticky Header */
.header-1.sticky-header .header-nav>ul>li.active>a {
    color: var(--corporate-green) !important;
    font-weight: 600;
}

/* Active Submenu Item Style in Sticky Header */
.header-1.sticky-header .header-nav ul li .submenu li.active>a {
    background-color: var(--corporate-green);
    color: #fff !important;
    padding-left: 25px;
}

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

    to {
        transform: translateY(0);
    }
}

/* --- Pagination Styles --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    padding: 20px 0;
}

.pagination-container .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-container .pagination .page-item {
    margin: 0;
    padding: 0;
}

.pagination-container .pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background-color: #fff;
    color: #6b7280;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.pagination-container .pagination .page-link:hover {
    border-color: var(--corporate-green);
    background-color: rgba(59, 170, 54, 0.1);
    color: var(--corporate-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 170, 54, 0.15);
}

.pagination-container .pagination .page-link.active {
    background-color: var(--corporate-green);
    border-color: var(--corporate-green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 170, 54, 0.3);
}

.pagination-container .pagination .page-link.active:hover {
    background-color: var(--corporate-green-dark);
    border-color: var(--corporate-green-dark);
    transform: translateY(-2px);
}

.pagination-container .pagination .page-link-prev,
.pagination-container .pagination .page-link-next {
    width: 48px;
    height: 48px;
    font-size: 14px;
}

.pagination-container .pagination .page-link-prev:hover,
.pagination-container .pagination .page-link-next:hover {
    background-color: var(--corporate-green);
    border-color: var(--corporate-green);
    color: #fff;
}

.pagination-container .pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-container .pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 991px) {
    .header-1 {
        position: fixed !important;
        background-color: #fff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .sidebar {
        width: 100% !important;
        max-width: 100% !important;
        padding: 80px 30px !important;
        right: -100% !important;
        z-index: 9999 !important;
    }

    .sidebar.open {
        right: 0 !important;
    }

    .sidebar-overlay {
        z-index: 9998 !important;
    }

    .header-1 .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 575px) {
    .pagination-container .pagination {
        gap: 4px;
    }

    .pagination-container .pagination .page-link {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .pagination-container .pagination .page-link-prev,
    .pagination-container .pagination .page-link-next {
        width: 40px;
        height: 40px;
    }
}
/* News Card Fixes */
.blog-items .blog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-items .blog-item .blog-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.blog-items .blog-item .blog-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.blog-items .blog-item .blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-items .blog-item .blog-content .blog-title {
    margin-bottom: 0;
    flex-grow: 1;
}
