/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --main-color: #fda21a;
    --secondary-color: #4fb649;
    --dark-blue-color: #030028;
    --bg: #f0f0f0;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --accent: #f6b012;
    --card: #ffffff;
    --gap: 28px;
}

body {
    color: #000000;
    line-height: 1.6;
}

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

.background-img {
    background-image: url("./images/background.jpg");
}

/* Whatsapp Button */

.whatsapp-btn{
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
}

.whatsapp-btn img{
    width: 70px;
    height: auto;
}

@media (max-width: 600px) {
    .whatsapp-btn img{
        width: 60px;
        height: auto;
    }
}

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    width: 100%;
}

#navbar {
    background: transparent;
    position: fixed;
    top: 0;
    z-index: 1000;
    top: 35px;
}

#navbar.scrolled {
    background: var(--dark-blue-color);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
}

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

.logo span {
    color: #ffb400;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-weight: 600;
    color: #fff;
}

.btn-appointment {
    background: var(--main-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 200px 5%;
    flex-wrap: wrap;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: auto;
    color: white;
    gap: 15px;
    border-left: 4px solid var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
}

.hero-text h1 {
    font-size: 28px;
    text-transform: uppercase;
    padding-left: 15px;
    padding-right: 15px;
    color: white;
}

.hero-text h1 span.yellow {
    color: var(--main-color);
}

.hero-text p {
    margin: 40px 0;
    max-width: 500px;
}

.hero-text h2{
    font-weight: 400;
}

.btns {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.btn-primary {
    background: var(--main-color);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffb400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #000;
}

.hero-img {
    flex: 1 1 400px;
    text-align: center;
}

.hero-img img {
    max-width: 100%;
    background-color: #ffb400;
    padding: 20px 10px;
    border-radius: 15px;
    border: 5px solid #ff5a00;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
        margin-bottom: 15px;
        border: none;
    }

    .hero-text p {
        margin: auto;
    }

    .btns {
        justify-content: center;
    }

    .hero-img {
        flex: 1 1 auto;
        text-align: center;
    }
}

@media (max-width: 600px) {

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }
}

/* Sidebar */

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 10000000;
}

.sidenav a {
    padding: 8px 8px 8px 22px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.sidebar-logo-img {
    width: 150px;
    margin-top: 10px;
}

.sidebar-open {
    display: none !important;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

@media (max-width:900px) {
    .sidebar-open {
        display: block !important;
    }
}

.sidebar-nav {
    color: white;
    font-size: 25px;
    display: none !important;
    cursor: pointer;
}

@media (max-width:995px) {
    .sidebar-nav {
        display: block !important;
    }
}

/* ABOUT XTRUDERLINE SECTION */

.about-Xtruderline-wrapper {
    padding: 80px 5%;
}

.about-Xtruderline-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* Left side with image and card */
.about-Xtruderline-left {
    flex: 1 1 400px;
    position: relative;
}

.about-Xtruderline-image {
    width: 100%;
    background: var(--dark-blue-color);
    /* padding: 20px; */
    position: relative;
    z-index: 1;
    margin: auto;
    border-radius: 15px;
    border: 2px solid var(--main-color);
}

.about-Xtruderline-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Right side content */
.about-Xtruderline-right {
    flex: 1 1 400px;
}

.about-Xtruderline-heading {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #0a1027;
}

.about-Xtruderline-heading span {
    color: var(--main-color);
}

.green-about-txt {
    color: var(--secondary-color) !important;
    font-size: 24px;
}

.about-Xtruderline-text {
    font-size: 15px;
    margin-bottom: 20px;
    color: #000000;
}

.about-Xtruderline-h3 {
    color: black;
    margin-bottom: 15px;
}

.about-Xtruderline-ul {
    color: black;
    margin-bottom: 15px;
}

.about-Xtruderline-btn {
    display: inline-block;
    background: var(--main-color);
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .about-Xtruderline-section {
        flex-direction: column;
        text-align: center;
    }

    .about-Xtruderline-right {
        text-align: center;
    }
}

/* Milestone Achievement Section */

.milestone-section {
    width: 100%;
    padding: 70px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: black;
    background: var(--dark-blue-color);
}

.milestone-section h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.milestone-section h2 span {
    color: var(--main-color);
}

.milestone-section h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 20px;
}

.milestone-section p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
    max-width: 1200px;
    text-align: center;
}

.milestone-section button {
    background: var(--main-color);
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.big-milestome-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.milestone-inner-box {
    background: var(--main-color);
    width: 350px;
    min-height: 180px;
    height: auto;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.milestone-inner-box:nth-child(1),
.milestone-inner-box:nth-child(3) {
    min-height: 160px;
}

.milestone-inner-box h4 {
    text-align: center;
    font-size: 18px;
    color: white;
}

.milestone-inner-box p {
    text-align: center;
    font-size: 16px;
    color: var(--dark-blue-color);
}

/* PVC - O Table Section */

.pvco-table-section {
    padding: 40px 20px;
    background: #fff;
    font-family: Arial, sans-serif;
}

.pvco-table-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.table-wrapper {
    overflow-x: auto;
}

.pvco-table-section table {
    width: 80%;
    border-collapse: collapse;
    min-width: 700px;
    margin: auto;
}

.pvco-table-section th,
.pvco-table-section td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: center;
    font-size: 0.95rem;
}

.pvco-table-section th {
    background: var(--dark-blue-color);
    color: white;
    font-weight: bold;
}

.pvco-table-section tbody tr:nth-child(even) {
    background: #fafafa;
}

.pvco-table-section td:first-child {
    font-weight: bold;
    text-align: left;
}

/* Responsive: Smaller text on mobile */
@media (max-width: 768px) {
    .pvco-table-section table {
        font-size: 0.85rem;
    }

    .pvco-table-section h2 {
        font-size: 1.5rem;
    }
}

/* Leader Legacy Section */

.leader-legacy-section {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr;
    align-items: stretch;
    background-color: var(--dark-blue-color);
}

/* Left hero area (image + badge) */
.leader-legacy-section__left {
    position: relative;
    padding: 40px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The yellow badge overlapping the image area */
.leader-legacy-badge {
    position: absolute;
    top: 28px;
    left: 40px;
    width: 260px;
    height: 150px;
    background: var(--);
    color: #111;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .08);
    padding: 12px;
    text-align: center;
}

.leader-legacy-badge .badge-big {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .5px;
    margin: 0;
}

.leader-legacy-badge .badge-small {
    font-size: 16px;
    font-weight: 700;
    margin-top: 6px;
}

/* The person image (can be replaced) */
.leader-legacy-section__image {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* Right content area */
.leader-legacy-section__right {
    padding: 60px 100px 60px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Main big heading with emphasis color on "Engineers" */
.lead-title {
    font-size: 36px;
    line-height: 1.04;
    font-weight: 800;
    color: #ffffff;
    margin: 8px 0 15px;
}

.lead-title .em {
    color: var(--main-color);
}

.lead-title-2 {
    font-size: 34px;
    line-height: 1.04;
    font-weight: 800;
    color: #1a1a1a;
    margin: 8px 0 15px;
}

.lead-title-2 .em {
    color: var(--main-color);
}

.lead-para {
    color: #ffffff;
    margin-bottom: 10px;
}

/* Benefits list (vertical) with icon circles */
.benefits {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    width: 100%;
}

.benefit-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 22px;
    align-items: start;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgb(239, 239, 239);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    flex-shrink: 0;
}

.benefit-icon img {
    width: 35px;
    height: 35px;
}

.benefit-content h4 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    color: rgb(255, 255, 255);
}

.benefit-content p {
    margin: 0;
    color: #ffffff;
    line-height: 1.6;
    font-size: 16px;
}

/* Responsive tweaks */
@media (max-width: 1100px) {
    .leader-legacy-section {
        grid-template-columns: 1.1fr 1fr;
    }

    .lead-title {
        font-size: 56px;
    }
}

@media (max-width: 900px) {
    .leader-legacy-section {
        grid-template-columns: 1fr;
    }

    .leader-legacy-section__left {
        order: 1;
        padding: 20px 20px;
    }

    .leader-legacy-section__right {
        order: 2;
        padding: 40px 28px;
    }

    .leader-legacy-badge {
        left: 20px;
        top: 12px;
        width: 220px;
        height: 130px;
        border-radius: 16px;
    }

    .leader-legacy-section__image {
        width: 90%;
        max-width: 420px;
        margin: 0 auto;
        display: block;
        border-radius: 12px;
    }

    .lead-title {
        font-size: 44px;
    }
}

@media (max-width: 480px) {
    .lead-title {
        font-size: 40px;
    }

    .benefit-item {
        grid-template-columns: 46px 1fr;
    }

    .benefit-icon {
        width: 46px;
        height: 46px;
    }
}

/* PVC-O Applications SECTION */

.pvc-o-applications-section {
    width: 100%;
    padding: 50px;
}

.pvc-o-applications-section h2 {
    font-size: 38px;
    text-align: center;
}

.pvc-o-applications-section p {
    font-size: 20px;
    text-align: center;
}

.pvco-pipe-application-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

.img-flip{
    -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
}

/* Card */
.pvco-pipe-application-section-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pvco-pipe-application-section-card:hover {
    transform: translateY(-5px);
}

.pvco-pipe-application-section-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pvco-pipe-application-section-info {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.pvco-pipe-application-section-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.pvco-pipe-application-section-info p {
    margin: 2px 0 0;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .pvco-pipe-application-section {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
        padding: 20px;
    }

    .pvco-pipe-application-section-info h3 {
        font-size: 0.95rem;
    }

    .pvco-pipe-application-section-info p {
        font-size: 0.8rem;
    }
}

/* Container */
.propipe-pvco-advantage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

/* Card */
.propipe-pvco-advantage-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.propipe-pvco-advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Image */
.propipe-pvco-advantage-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Content */
.propipe-pvco-advantage-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.propipe-pvco-advantage-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #222;
    text-align: center;
}

.propipe-pvco-advantage-text {
    font-size: 14px !important;
    color: #444;
    margin: 0 0 12px;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .propipe-pvco-advantage {
        padding: 20px;
        gap: 15px;
    }

    .propipe-pvco-advantage-card img {
        height: 150px;
    }
}

/* FOOTER SECTION */

.footer-section {
    position: relative;
    background: var(--dark-blue-color);
    overflow: hidden;
}

/* Angled dark overlays */
.footer-section::before,
.footer-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: var(--dark-blue-color);
    z-index: 0;
}

.footer-section::before {
    left: -5%;
    transform: skewX(-20deg);
}

.footer-section::after {
    right: -5%;
    transform: skewX(20deg);
}

.footer-section-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    align-items: stretch;
}

/* Left content */
.footer-section-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-section-logo p {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
    margin: 15px 0;
}

.footer-section-logo img {
    max-width: 180px;
}

.footer-section-social {
    margin-top: 15px;
}

.footer-section-social a {
    margin-right: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: #f97316;
}

/* Right orange box */
.footer-section-right {
    background: var(--main-color);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border-radius: 5px;
}

.footer-section-right h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
}

.footer-section-right input {
    width: 100%;
    padding: 12px 10px;
    border: none;
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
    font-size: 15px;
    background: transparent;
    color: #fff;
}

.footer-section-right input::placeholder {
    color: #f1f1f1;
}

.footer-section-right button {
    width: 100%;
    background: black;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    border-radius: 5px;
}

.footer-section-right button:hover {
    background: #000;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-section-container {
        grid-template-columns: 1fr;
    }

    .footer-section-left {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-section-left {
        grid-template-columns: 1fr;
    }

    .footer-section-right {
        padding: 30px 20px;
    }
}

@media (max-width: 1066px) {
    header {
        padding: 10px 5%;
    }

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

    .btn-appointment {
        padding: 5px 10px;
    }
}

@media (max-width: 995px) {
    header {
        padding: 20px 5%;
    }

    nav ul {
        display: none;
    }

    .btn-appointment {
        display: none;
    }

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

    .about-Xtruderline-right {
        flex: 1 1 280px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 220px 5% 100px 5%;
    }

    .big-milestome-box {
        flex-direction: column;
    }

    .about-Xtruderline-wrapper {
        padding: 50px 5%;
    }

    .about-Xtruderline-text {
        text-align: justify;
    }

    .about-Xtruderline-left {
        flex: 1 1 250px;
        position: relative;
    }

    .about-Xtruderline-section {
        gap: 20px;
    }

    .milestone-section {
        padding: 50px 20px;
    }

    .milestone-section h2 {
        text-align: center;
        font-size: 30px;
    }

    .milestone-section p {
        text-align: justify;
        margin-bottom: 5px;
    }

    .milestone-inner-box {
        padding: 10px;
        min-height: 120px;
        gap: 10px;
    }

    .milestone-section h3 {
        text-align: center;
        font-size: 21px;
    }

    .leader-legacy-section__right {
        padding: 20px;
    }

    .lead-title {
        font-size: 24px;
    }

    .lead-para {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .leader-legacy-section__image {
        width: 100%;
    }

    .leader-legacy-section__left {
        padding: 40px 20px 20px 20px;
    }

    .benefit-content p {
        font-size: 14px;
    }

    .pvc-o-applications-section {
        padding: 40px 20px;
    }

    .pvc-o-applications-section h2 {
        font-size: 25px;
    }

    .pvc-o-applications-section p {
        font-size: 16px;
    }

    .pvco-pipe-application-section {
        padding: 20px 0px;
    }

    .pvco-pipe-application-section-card img {
        max-height: 180px;
    }

    .propipe-pvco-advantage-card {
        width: 100%;
    }

    .propipe-pvco-advantage {
        padding: 20px 0px;
    }

    .propipe-pvco-advantage-content {
        padding: 10px;
    }
}

/* Top Bar Section */

.top-bar-section {
    width: 100%;
    background-color: #2C2C2C;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 70px;
    position: fixed;
    top: 0px;
    z-index: 10000;
}

.top-bar-section a {
    color: white;
    height: auto;
    text-decoration: none;
}

.top-bar-social-icons a {
    height: 20px;
}

.top-bar-content-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-content-section p {
    font-size: 16px;
    /* font-weight: 600; */
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-social-icons i {
    font-size: 20px;
}

@media (max-width: 769px) {

    /* Top Section */
    .top-bar-section {
        flex-direction: column;
        padding: 5px 10px;
        gap: 10px;
    }

    .top-bar-content-section {
        flex-direction: column;
        gap: 2px;
    }

    #navbar{
        top: 93px;
    }
}