/*==================================================
ROOT VARIABLES
==================================================*/
:root {
    /* Brand Colors */
    --primary: #14afc3;
    --primary-dark: #0f96a7;
    --secondary: #1d2b36;

    /* Neutral Colors */
    --dark: #0f1720;
    --dark-light: #1e293b;
    --text: #5f6b7a;
    --text-light: #94a3b8;

    --white: #ffffff;
    --light: #f8fafc;
    --light-bg: #f1f5f9;

    --border: #e5e7eb;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;

    /* Layout */
    --container-width: 1320px;
    --section-space: clamp(70px, 8vw, 120px);

    /* Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, .08);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, .12);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, .18);

    /* Animation */
    --transition: all .35s ease;
}

.h1 {
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.1;
    font-weight: 800;
}

h2,
.h2 {
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.15;
    font-weight: 700;
}

h3,
.h3 {
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.2;
    font-weight: 700;
}

h4,
.h4 {
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.3;
    font-weight: 600;
}

h5,
.h5 {
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.4;
    font-weight: 600;
}

h6,
.h6 {
    font-size: clamp(16px, 1vw, 20px);
    line-height: 1.5;
    font-weight: 600;
}

/*  */
.fs-ps-l {
    font-size: clamp(30px, 4vw, 56px);
}

.fs-ps-m {
    font-size: clamp(18px, 1.5vw, 24px);
}

.fs-ps-s {
    font-size: clamp(16px, 1vw, 20px);
}

/*==================================================
GLOBAL
==================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    overflow-x: hidden;
    background: #fff;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1320px;
}

/*==================================================
TOPBAR
==================================================*/

.topbar {
    background: var(--secondary);
    color: #fff;
    font-size: 13px;
    padding: 10px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.topbar a {
    color: #fff;
}

.topbar i {
    color: var(--primary);
    margin-right: 6px;
}

.topbar-social {
    display: flex;
    gap: 15px;
}

.topbar-social a {
    color: #fff;
    font-size: 14px;
}

.topbar-social a:hover {
    color: var(--primary);
}

/*==================================================
HEADER
==================================================*/

.header-area {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.navbar-custom {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    min-height: 90px;
    border-bottom: 1px solid var(--border);
}

.navbar-brand img {
    max-height: 75px;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    padding: 32px 16px !important;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::before,
.nav-link:hover::before {
    width: 100%;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: #f3f7f8;
    border-radius: 50%;
    color: var(--dark);
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary);
    color: #fff;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.header-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

/*==================================================
MEGA MENU
==================================================*/

.mega-parent {
    position: static;
}

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    max-width: 100%;
    background: #fff;
    padding: 40px;
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all .35s ease;
    z-index: 999;
}

.mega-parent:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.mega-service-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--dark);
    background: #fff;
}

.mega-service-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.mega-service-card h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.mega-service-card p {
    margin: 0;
    font-size: 13px;
    color: var(--text);
}

.mega-icon {
    width: 55px;
    height: 55px;
    background: rgba(20, 175, 195, .1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 22px;
}

.mega-feature {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.mega-feature img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.mega-feature::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .75),
            rgba(0, 0, 0, .05));
}

.mega-feature-content {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 25px;
    z-index: 5;
    color: #fff;
}

.mega-feature-content span {
    color: var(--primary);
    font-weight: 600;
}

.mega-feature-content h5 {
    margin: 10px 0;
    font-size: 24px;
    font-weight: 700;
}

.mega-feature-content a {
    color: #fff;
}

.small-feature img {
    height: 260px;
}

.mega-product-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--dark);
    font-weight: 600;
}

.mega-product-card i {
    color: var(--primary);
}

.mega-product-card:hover {
    border-color: var(--primary);
    background: #f6fdff;
}

/*==================================================
DROPDOWN
==================================================*/

.dropdown-menu {
    border: none;
    padding: 12px;
    box-shadow: var(--shadow-sm);
    border-radius: 10px;
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: 6px;
}

.dropdown-item:hover {
    background: var(--primary);
    color: #fff;
}

/*==================================================
MOBILE MENU
==================================================*/

.offcanvas {
    width: 330px !important;
}

.offcanvas-header {
    border-bottom: 1px solid var(--border);
}

.mobile-menu>li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    font-weight: 600;
    padding: 16px 0;
}

.mobile-submenu {
    padding-left: 15px;
    padding-bottom: 10px;
}

.mobile-submenu li a {
    display: block;
    padding: 10px 0;
    color: var(--text);
}

.mobile-submenu li a:hover {
    color: var(--primary);
}

.mobile-contact {
    margin-top: 30px;
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
}

.mobile-contact h6 {
    font-weight: 700;
    margin-bottom: 15px;
}

.mobile-contact p {
    margin-bottom: 10px;
}

.mobile-contact i {
    color: var(--primary);
    margin-right: 8px;
}

/*==================================================
BUTTONS
==================================================*/

.btn-theme {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-theme:hover {
    background: var(--primary-dark);
    color: #fff;
}

/*==================================================
SECTION SPACING
==================================================*/

.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title span {
    color: var(--primary);
    font-weight: 600;
}

/*==================================================
UTILITY CLASSES
==================================================*/

.bg-light-custom {
    background: #f8fafc;
}

.shadow-custom {
    box-shadow: var(--shadow-sm);
}

.radius {
    border-radius: var(--radius);
}

.radius-lg {
    border-radius: var(--radius-lg);
}

.text-primary-custom {
    color: var(--primary);
}

.text-muted-custom {
    color: var(--text);
}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1199px) {

    .navbar-collapse {
        display: none !important;
    }

    .mega-menu {
        display: none;
    }

}

@media(max-width:991px) {

    .topbar {
        display: none;
    }

    .section-padding {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 36px;
    }

}

@media(max-width:767px) {

    .navbar-custom {
        min-height: 80px;
    }

    .navbar-brand img {
        max-height: 42px;
    }

    .section-title h2 {
        font-size: 30px;
    }

}

@media(max-width:575px) {

    .header-btn {
        display: none;
    }

    .search-btn {
        display: none;
    }

    .offcanvas {
        width: 100% !important;
    }

}

/*=========================================
FOOTER
=========================================*/

.footer-area {
    position: relative;
    background: #141414;
    overflow: hidden;
    color: #fff;
}

/* Industrial Background */

.footer-area::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 420px;
    height: 100%;
    background: url('../images/footer-shape.png') no-repeat right bottom;
    background-size: contain;
    opacity: .08;
    pointer-events: none;
}

.footer-row {
    min-height: 520px;
}

.footer-col {
    position: relative;
    padding: 80px 55px;
}

.footer-col:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, .08);
}

/*=========================================
ABOUT
=========================================*/

.footer-about p {
    color: rgba(255, 255, 255, .75);
    line-height: 1.9;
    font-size: 18px;
    max-width: 420px;
}

/*=========================================
SINCE
=========================================*/

.footer-since {
    margin-top: 50px;

    font-size: 62px;
    font-weight: 800;
    line-height: 1;

    color: transparent;

    -webkit-text-stroke:
        1px var(--primary);

    text-transform: uppercase;
}

/*=========================================
COPYRIGHT
=========================================*/

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, .10);

    text-align: center;
    margin-top: 30px;
    padding: 30px 0;
    color: rgba(255, 255, 255, .65);
    font-size: 16px;
}

/*=========================================
TITLE
=========================================*/

.footer-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
}

/*=========================================
LINKS
=========================================*/

.footer-links-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

/*=========================================
NEWSLETTER
=========================================*/

.footer-widget p {
    color: rgba(255, 255, 255, .75);
    line-height: 1.9;
    max-width: 430px;
}

.footer-newsletter {
    margin-top: 35px;
}

.footer-newsletter input {
    width: 100%;
    max-width: 420px;

    height: 60px;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, .10);

    padding: 0 20px;

    color: #fff;

    font-size: 16px;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary);
}

.footer-newsletter button {
    margin-top: 25px;

    width: 220px;
    height: 56px;

    border: none;

    background: var(--primary);

    color: #fff;

    font-weight: 600;

    transition: .3s;
}

.footer-newsletter button:hover {
    background: var(--primary-dark);
}

.footer-newsletter button i {
    margin-left: 10px;
}

/*=========================================
SOCIAL
=========================================*/

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 45px;
}

.footer-social a {
    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    transition: .3s;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* ==================================
SCROLL TO TOP
================================== */

.scroll-top {

    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 50px;
    height: 50px;

    border: none;

    border-radius: 20%;
    background: var(--primary);
    color: #fff;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);

}

.scroll-top.active {

    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {

    transform: translateY(-5px);

    background: var(--primary-dark);
}

/*=========================================
TABLET
=========================================*/

@media(max-width:991px) {

    .footer-row {
        min-height: auto;
    }

    .footer-col {
        padding: 60px 40px;
    }

    .footer-col::after {
        display: none;
    }

    .footer-title {
        font-size: 34px;
    }

    .footer-since {
        font-size: 50px;
    }

    .footer-copyright {
        margin-top: 50px;
    }

}

/*=========================================
MOBILE
=========================================*/

@media(max-width:767px) {

    .footer-col {
        padding: 45px 25px;
    }

    .footer-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .footer-links-wrap {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-links li {
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 17px;
    }

    .footer-about p,
    .footer-widget p {
        font-size: 16px;
    }

    .footer-since {
        font-size: 42px;
        margin-top: 35px;
    }

    .footer-copyright {
        margin-top: 35px;
        font-size: 14px;
    }

    .footer-newsletter input {
        max-width: 100%;
    }

    .footer-newsletter button {
        width: 100%;
    }

    .footer-social {
        flex-wrap: wrap;
    }

}

/*=========================================
LOGO
=========================================*/

.footer-logo {
    display: inline-block;
    margin-bottom: 35px;
}

.footer-logo img {
    max-height: 55px;
}

/* ------------------------------------------------------------------------------------ */

/* ====================================
CTA
==================================== */

.cta-section {
    position: relative;
    padding: 120px 0;
    background: url('https://www.dfpiping.com/images/banner_new4.jpg') center center/cover no-repeat;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(15, 23, 32, .92),
            rgba(15, 23, 32, .75));
}

.cta-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.cta-content h2 {
    color: #fff;
    margin-top: 15px;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, .80);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Outline Button */

.btn-outline-light {
    height: 56px;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, .35);
    color: #fff;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--dark);
}

/* ==================================
WHATSAPP FLOAT
================================== */

.whatsapp-float {

    position: fixed;

    left: 30px;
    bottom: 30px;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: #25D366;

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;

    z-index: 999;

    text-decoration: none;

    box-shadow: 0 15px 35px rgba(37, 211, 102, .35);

    transition: var(--transition);
}

.whatsapp-float:hover {

    color: #fff;

    transform: translateY(-5px);
}

.whatsapp-float::before {

    content: '';

    position: absolute;

    inset: -10px;

    border-radius: 50%;

    background: rgba(37, 211, 102, .3);

    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {

    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }

}

/* ==================================
MOBILE BOTTOM NAV
================================== */

.mobile-bottom-nav {

    position: fixed;

    left: 0;
    bottom: 0;

    width: 100%;

    background: #fff;

    display: none;

    z-index: 999;

    box-shadow:
        0 -5px 20px rgba(0, 0, 0, .08);

    border-top:
        1px solid var(--border);
}

.mobile-bottom-nav a {

    flex: 1;

    text-decoration: none;

    color: var(--secondary);

    padding: 12px 5px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    transition: var(--transition);
}

.mobile-bottom-nav a i {

    font-size: 18px;
}

.mobile-bottom-nav a span {

    font-size: 12px;
}

/* WhatsApp Center */

.mobile-bottom-nav .nav-whatsapp {

    color: #25D366;
}

/* Hover */

.mobile-bottom-nav a:hover {

    color: var(--primary);
}

@media(max-width:767px) {

    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 75px;
    }

    .scroll-top {

        bottom: 85px;
        right: 15px;

        width: 50px;
        height: 50px;
    }

    .whatsapp-float {

        display: none;
    }

}