:root {
    --primary: #18324d;
    --primary-light: #516477;
    --accent: #6b8e23;
    --secondary: #6b8e23;
    --gradient-1: #6b8e23;
    --gradient-2: #6b8e23;
    --gradient-3: #18324d;
    --gradient-primary: #18324d;
    --gradient-accent: #6b8e23;
    --gradient-mesh: none;
    --light: #f6f7f5;
    --dark: #1c2730;
}

body {
    font-weight: 400;
    background: var(--light);
    color: var(--dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400 !important;
    letter-spacing: -0.015em;
}

.particles-bg,
.hero-section::after,
.page-hero::after,
.about-section::before,
.mission-card::before,
.footer::before,
.expansion-card::before,
.brand-icon::before {
    display: none !important;
}

.navbar,
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid #dfe4e1 !important;
    box-shadow: 0 3px 16px rgba(24, 50, 77, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.brand-icon img,
.navbar.scrolled .brand-icon img {
    height: 84px !important;
    filter: none !important;
}

.nav-link,
.navbar.scrolled .nav-link {
    color: var(--primary) !important;
    font-weight: 400 !important;
    text-shadow: none !important;
}

.nav-link:hover,
.nav-link.active,
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active,
.navbar-collapse .nav-link:hover,
.navbar-collapse .nav-link.active,
.nav-link[href="gallery.html"] {
    color: var(--primary) !important;
    background: transparent !important;
    transform: none !important;
}

.navbar-toggler {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0.5rem !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(24, 50, 77, 0.18) !important;
}

.navbar-toggler-icon {
    width: 1.5rem;
    height: 1.25rem;
    background-image: none !important;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    position: relative;
}

.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0.48rem;
    border-top: 2px solid var(--primary);
}

.nav-link::before {
    background: var(--accent) !important;
}

.btn,
.btn-cta,
.btn-primary,
.btn-primary-custom,
.btn-service,
.btn-product,
.btn-outline-custom,
.badge-expansion,
.btn-back-to-top {
    font-weight: 400 !important;
    border-radius: 4px !important;
    background-image: none !important;
}

.btn-cta,
.btn-primary,
.btn-primary-custom,
.btn-service,
.btn-product,
.badge-expansion,
.btn-back-to-top {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.btn-outline-custom {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background: transparent !important;
}

.btn-outline-light {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
}

.btn-cta:hover,
.btn-primary:hover,
.btn-primary-custom:hover,
.btn-service:hover,
.btn-product:hover,
.btn-back-to-top:hover {
    background: #294d6d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 14px rgba(24, 50, 77, 0.18) !important;
}

.page-hero {
    min-height: 54vh !important;
}

.page-hero::before {
    background: rgba(12, 29, 45, 0.64) !important;
    opacity: 1 !important;
}

.hero-section,
.page-hero,
.mission-card,
.footer {
    color: #fff !important;
}

.mission-card {
    background: var(--primary) !important;
}

.expansion-card {
    background: #e8eee5 !important;
    color: var(--dark) !important;
}

.expansion-card h1,
.expansion-card h2,
.expansion-card h3,
.expansion-card h4,
.expansion-card p {
    color: var(--dark) !important;
    -webkit-text-fill-color: currentColor !important;
}

.hero-section h1,
.hero-section p,
.page-hero h1,
.page-hero p,
.mission-card h1,
.mission-card h2,
.mission-card h3,
.mission-card h4,
.mission-card p,
.expansion-card h1,
.expansion-card h2,
.expansion-card h3,
.expansion-card h4,
.expansion-card p,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer p,
.footer a {
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 400 !important;
    text-shadow: none !important;
}

.page-title .highlight {
    color: #dce8d0 !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.page-subtitle {
    font-weight: 400 !important;
    text-shadow: none !important;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px !important;
}

.section-title {
    color: var(--primary) !important;
    font-weight: 400 !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.section-title::after {
    width: 42px !important;
    height: 2px !important;
    background: var(--accent) !important;
    border-radius: 0 !important;
}

.section-subtitle {
    color: var(--primary-light) !important;
    font-weight: 400 !important;
}

.text-white,
.text-white-50 {
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important;
}

.gallery-section,
.services-section,
.products-section,
.manufacturing-products,
.values-section,
.contact-section,
.contact-info-cards,
.faq-section {
    background: var(--light) !important;
}

.values-section,
.cta-section {
    background: var(--light) !important;
    color: var(--dark) !important;
}

.values-section::before,
.cta-card::before {
    display: none !important;
}

.values-section .section-title,
.values-section .section-subtitle,
.value-item h4,
.value-item p,
.cta-title,
.cta-text {
    color: var(--dark) !important;
    -webkit-text-fill-color: currentColor !important;
}

.value-item {
    background: #fff;
    border: 1px solid #e1e6e2;
    border-radius: 6px;
    padding: 1.75rem 1.25rem;
    box-shadow: 0 8px 24px rgba(24, 50, 77, 0.06);
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(24, 50, 77, 0.1);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    background: #eef2ea !important;
    border: 1px solid #d7e0d1 !important;
    border-radius: 4px;
    color: var(--accent) !important;
    backdrop-filter: none !important;
}

.cta-card {
    background: #fff !important;
    color: var(--dark) !important;
    border: 1px solid #e1e6e2 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 24px rgba(24, 50, 77, 0.06) !important;
}

.card,
.service-main-card,
.detail-card,
.category-card,
.feature-card,
.ownership-card,
.leadership-card,
.cta-card,
.info-card,
.contact-form-container,
.product-card,
.gallery-item {
    background: #fff !important;
    border: 1px solid #e1e6e2 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 24px rgba(24, 50, 77, 0.06) !important;
}

.mission-card {
    background: var(--primary) !important;
    color: #fff !important;
}

.expansion-card {
    background: #e8eee5 !important;
}

.about-card,
.service-card,
.value-card,
.info-card,
.feature-card,
.ownership-card,
.leadership-card {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #dfe4e1 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.about-card:hover,
.service-card:hover,
.value-card:hover,
.info-card:hover,
.feature-card:hover,
.ownership-card:hover,
.leadership-card:hover {
    transform: none;
    box-shadow: none !important;
}

.about-card .icon-wrapper,
.service-card .service-image,
.value-card .value-number {
    border-radius: 0 !important;
}

.card:hover,
.service-main-card:hover,
.detail-card:hover,
.category-card:hover,
.feature-card:hover,
.ownership-card:hover,
.leadership-card:hover,
.cta-card:hover,
.info-card:hover,
.contact-form-container:hover,
.product-card:hover,
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(24, 50, 77, 0.1) !important;
}

.product-card::before,
.gallery-item .overlay,
.gallery-item .overlay::before,
.gallery-item .overlay::after {
    background: none !important;
    background-image: none !important;
}

.product-item {
    background: #fff !important;
    background-image: none !important;
}

.stats-strip {
    display: none !important;
}

.about-section,
.services-section,
.values-section,
.products-section,
.products-grid,
.gallery-section,
.contact-section,
.cta-section,
.footer,
.navbar,
.navbar.scrolled,
.service-card,
.about-card,
.value-card,
.product-card,
.contact-card,
.mission-card,
.expansion-card,
.cta-card,
.footer,
.btn,
.badge-expansion,
.icon-wrapper,
.contact-icon,
.value-icon,
.product-category-badge,
.filter-btn,
.lb-nav {
    background-image: none !important;
    border-image: none !important;
}

.footer {
    background: var(--primary) !important;
}

.footer-logo {
    width: 200px;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

.footer img[src*="magatransprentlogo"] {
    filter: brightness(0) invert(1) !important;
}

.footer-description,
.footer-list,
.footer-bottom {
    color: rgba(255, 255, 255, 0.78);
}

.footer h5 {
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.55rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none;
}

.footer-list a:hover {
    color: #fff !important;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.875rem;
}

.footer-cta {
    color: #fff !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
}

.footer-credit a {
    color: #fff !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-credit a:hover {
    border-bottom-color: #fff;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.why-choose-section {
    background: #fff;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.why-choose-list {
    border-top: 1px solid #dfe4e1;
}

.why-choose-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 1rem;
    align-items: baseline;
    padding: 0.9rem 0;
    border-bottom: 1px solid #dfe4e1;
}

.why-choose-label {
    color: var(--primary);
    font-weight: 400;
}

.why-choose-item p {
    color: var(--dark);
    margin: 0;
}

.why-choose-image {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.cta-section .btn-outline-light {
    color: #fff !important;
    border-color: var(--primary) !important;
    background: var(--primary) !important;
}

.footer-links h5,
.footer-contact h5 {
    font-weight: 400 !important;
}

.form-control,
textarea,
select {
    border: 1px solid #d5ddd8 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.form-control:focus,
textarea:focus,
select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.12) !important;
}

.product-categories,
.products-header,
.products-grid {
    background: var(--light) !important;
}

.category-tabs {
    background: #fff;
    border: 1px solid #e1e6e2;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(24, 50, 77, 0.06);
}

.nav-tabs {
    border-bottom: 1px solid #dfe4e1 !important;
    gap: 0.35rem;
}

.nav-tabs .nav-link {
    color: var(--primary) !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.nav-tabs .nav-link.active {
    color: var(--primary) !important;
    background: #eef2ea !important;
    border-bottom-color: var(--accent) !important;
    box-shadow: none !important;
    transform: none !important;
}

.tagline {
    color: var(--accent) !important;
    font-weight: 400 !important;
}

.products-grid .product-card {
    display: grid;
    grid-template-columns: minmax(150px, 36%) 1fr;
    min-height: 250px;
    overflow: hidden;
}

.hero-stats {
    display: none !important;
}

.products-grid .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
}

.products-grid .product-image {
    height: 100%;
    min-height: 250px;
}

.products-grid .product-content {
    padding: 1.5rem;
}

.product-category-badge {
    background: var(--accent) !important;
    border-radius: 3px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

.product-title {
    font-weight: 400 !important;
}

.btn-product {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-weight: 400 !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff !important;
        border: 1px solid #dfe4e1 !important;
        border-radius: 4px !important;
        box-shadow: 0 8px 24px rgba(24, 50, 77, 0.1) !important;
    }

    .navbar-collapse .btn-cta {
        background: var(--primary) !important;
    }
}

@media (max-width: 768px) {
    .brand-icon img,
    .navbar.scrolled .brand-icon img {
        height: 68px !important;
    }

    .products-grid .product-card {
        display: block;
    }

    .products-grid .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .products-grid .product-image {
        min-height: 210px;
        height: 210px;
    }

    .why-choose-item {
        display: block;
    }

    .why-choose-label {
        display: block;
        margin-bottom: 0.25rem;
    }

    .footer-bottom {
        display: block;
    }

    .footer-cta {
        display: inline-block;
        margin-top: 0.75rem;
    }

    .copyright {
        display: block;
    }

    .copyright .footer-credit {
        display: inline-block;
        margin-top: 0.75rem;
    }
}
