@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
@import url("color-schemes.css");

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar-track {
    background-color: var(--scrollbar-bg);
}

::-webkit-scrollbar {
    width: 6px;
    background-color: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
}


body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Lazy Loading Styles */
.lazy-load {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: blur(5px);
    position: relative;
    z-index: 2;
}

.lazy-load[src],
.loaded {
    opacity: 1;
    filter: blur(0);
    transition: opacity 1s ease-in-out, filter 1s ease-in-out;
}

/* Image placeholder for lazy loading */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    z-index: 1;
    transform: scale(1.1);
}

/* Background lazy loading */
section[data-src] {
    background-color: var(--dark-bg);
    /* Placeholder color before image loads */
    transition: background-image 0.5s ease-in-out;
    position: relative;
}

/* Section animations */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: none;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.background-loaded {
    animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }
}

/* Add staggered animation for service cards */
.service-grid .service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out,
        box-shadow 0.3s ease, transform 0.3s ease;
}

.section-visible .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.section-visible .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.section-visible .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.section-visible .service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.section-visible .service-card {
    opacity: 1;
    transform: translateY(0);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

.btn:active {
    border-color: var(--white) !important;
    background-color: var(--primary-color) !important;
    box-shadow: none !important;
}

.section-title {
    color: var(--section-title-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.section-heading {
    color: var(--section-heading-color);
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 15px;
}

.inner-capabilities-intro h3.section-heading {
    margin-bottom: 15px;
}

.additional-services .section-heading {
    margin-bottom: 60px;
}

.additional-services .capabilities-grid {
    gap: 50px;
}

.additional-services .capability-card {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.additional-services .capability-card:hover {
    transform: none;
    box-shadow: none;
}

/* Quote Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-container .loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--loader-bg);
    border-radius: 50%;
    border-top: 5px solid var(--loader-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 15px 0;
    box-shadow: none;
}

/* Header scroll effect */
header.scrolled,
.inner-header {
    background: var(--header-gradient);
    padding: 18px 0;
}

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

.logo img {
    height: 75px;
    width: auto;
}

header.scrolled .logo img,
header.inner-header .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    margin: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-family: "DM Sans";
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
    font-weight: 400;
    text-decoration: underline;
}

.nav-links a.active {
    color: var(--white);
    font-weight: 400;
    text-decoration: underline;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.cta-button .btn,
.hero-content a.btn {
    height: 45px;
    padding: 12px 32px;
    border-radius: 8px;
    border: 1px solid var(--white);
    background: var(--primary-color);
    outline: none;
    box-shadow: none;
    color: var(--white);
    font-family: "DM Sans";
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
}

.cta-button .btn:hover,
.hero-content a.btn:hover {
    background-color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    margin-left: 10%;
    padding-top: 80px;
}

.hero h1 {
    color: var(--white);
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 5px;
}

.hero .text-light-waight {
    font-weight: 400;
}

.hero p {
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 30px;
    max-width: 600px;
}

/* About Section */
.about {
    padding: 75px 0;
    background-color: var(--page-bg);
}

.inner-about {
    margin-top: 80px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
}

.about-images {
    flex: 1;
}

.main-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
}

.secondary-images {
    display: flex;
    gap: 20px;
}

.secondary-images img {
    width: 48%;
    border-radius: 10px;
}

/* Capabilities Section */
.capabilities {
    padding: 35px 0 45px 0;
    border-radius: 40px 40px 0px 0px;
    background: var(--card-background);
}

.inner-capabilities-intro {
    text-align: center;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-left: 40px;
}

.capability-card {
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: var(--inner-card-background);
    padding: 24px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-medium);
}

.capability-card-item .capability-card {
    min-height: 380px;
}

.capability-card.wide {
    grid-column: span 2;
}

.capability-card .icon {
    width: 60px;
    height: 45px;
    margin-bottom: 5px;
}

.capability-card h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 5px;
}

.capability-card-item .capability-card h4 {
    font-size: 20px;
}

.capability-card p {
    color: var(--white);
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 0px;
}

.capabilities-intro h3.section-heading ,
.capabilities-intro .section-title {
    color: var(--white);
}

.capabilities-intro p {
    color: var(--white);
}

.capabilities-intro .btn.btn-secondary {
    border: 1px solid var(--card-border);
}

section.about.inner-about.capabilities-page {
    background-color: var(--card-background);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--page-bg);
}

.services-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.services-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.services-image img {
    width: 100%;
}

.services-text {
    flex: 1;
}

.services-list {
    margin-top: 30px;
}

.services-list li {
    color: var(--text-light);
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    margin-bottom: 5px;
    padding-left: 0;
}

/* Quote Section Form */
section.quote-section {
    background-image: var(--white);
    padding-top: 80px;
    padding-bottom: 50px;
}

.quote-section .container {
    max-width: 1340px;
}

.quotation-block {
    border-radius: 10px;
    padding: 10px 40px 20px 40px;
    background: var(--quote-card-bg);
}

.quote-header {
    text-align: center;
}

.quote-header h3 {
    color: var(--black);
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.6px;
}

.quote-header h3 span {
    color: var(--section-title-color);
}

.quote-header p {
    color: var(--form-text);
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}

.quotation-block .form-control {
    border-radius: 8px;
    border: 1px solid var(--form-border);
    background: var(--form-bg);
    padding: 5px;
    height: 40px;
    box-shadow: none;
}

.quotation-block label {
    color: var(--form-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.quotation-block .astrick {
    color: var(--error-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}

.quotation-block .text-muted {
    color: var(--form-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 10px;
    margin-bottom: 0;
}

.send-btn {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: end;
}

.send-btn .btn-reset {
    border-radius: 8px;
    border: 1px solid var(--form-border);
    background: var(--form-bg);
    padding: 15px 45px;
    color: var(--form-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.32px;
    outline: none;
}

.send-btn .btn-submit {
    border-radius: 8px;
    background: var(--primary-color);
    padding: 15px 45px;
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.32px;
    border: 1px solid var(--primary-color);
    outline: none;
}

.upload-box {
    border: 1px dashed var(--form-border);
    border-radius: 4px;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.upload-box input[type="file"] {
    display: none;
}

.upload-box p {
    color: var(--form-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

.upload-box label {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
    text-decoration: underline;
}

/* Featured Products */

.featured-products {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
  }
  
  .featured-products h2 {
    color: var(--Text-Title, #2E2E2E);
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 2rem;
  }
  
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 7px;
  }
  
  .product-card {
    overflow: hidden;
    text-align: left;
  }
  
  .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .product-title {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    margin: 0.5rem 0 0.25rem;
  }
  
  .product-price {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
  }
  
  .old-price {
    text-decoration: line-through;
    color: gray;
    margin-right: 0.5rem;
  }



/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    margin-top: 10px;
}

.footer-logo img {
    height: 75px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-content .footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links p {
    color: var(--footer-text);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 30px;
    text-align: left;
    font-size: 14px;
    color: var(--footer-bottom-text);
}

.equipment-overview {
    background: var(--page-bg);
    position: relative;
    margin-bottom: 50px;
}

.equipment-overview .services-text {
    padding: 180px 0;
}

.equipment-overview .services-text .section-heading {
    margin-bottom: 15px;
}

.equipment-overview .services-text p {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 30px;
}

.equipment-overview .services-image img {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    border-bottom-left-radius: 10px;
}

.equipment-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.equipment-item {
    min-width: 32px;
    height: 32px;
    background: var(--section-title-color);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.equipment-item-text {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
}

.additional-services-section {
    padding-top: 0px;
}

.contact-content .section-heading {
    color: var(--section-heading-color);
    font-size: 40px;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 15px;
}

.contact-content p {
    color: var(--section-heading-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info-icon i {
    color: var(--contact-icon-color);
    font-size: 20px;
}

.contact-info-text {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .equipment-overview .services-image img {
        position: relative;
        right: inherit;
        top: inherit;
        width: auto;
    }

}

@media (max-width: 1024px) {
    .equipment-overview .services-text {
        padding: 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-images,
    .services-text,
    .services-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--nav-mobile-bg);
        padding: 20px;
        box-shadow: 0 5px 15px var(--shadow-medium);
        flex-direction: column;
        align-items: center;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .mobile-menu {
        display: block;
        color: var(--white);
    }

    .hero h1 {
        font-size: 36px;
    }

    .services-content {
        flex-direction: column-reverse;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
        max-width: inherit;
        width: 100%;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        padding-left: 0;
        margin-top: 40px;
    }

    .capability-card.wide {
        grid-column: span 1;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-links ul {
        justify-content: center;
    }

    .footer-social {
        margin-top: 20px;
    }

    .footer-social a {
        margin: 0 10px;
    }

    .capability-card-item .capability-card {
        min-height: auto;
        margin-bottom: 20px;
    }

    .logo {
        order: 1;
    }

    .cta-button {
        order: 2;
    }

    .cta-button .btn {
        height: 40px;
        padding: 12px;
        line-height: 13px;
    }

    .footer-bottom {
        text-align: center;
    }

    .capabilities {
        padding: 50px 0;
        border-radius: 0;
    }

    .about,
    .services {
        padding: 50px 0;
    }

    .hero-content a.btn {
        width: 100%;
    }

    .additional-services-section {
        padding-top: 0px;
    }

    .capabilities-intro .btn.btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-heading {
        font-size: 28px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .footer-links li {
        margin: 0 10px;
    }

}