/*=========================================================
  FERROBEND
  GLOBAL STYLES
=========================================================*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #222;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/*=========================================================
  CONTAINER
=========================================================*/

.container {
    width: 92%;
    max-width: 1380px;
    margin: auto;
}

/*=========================================================
  TOP BAR
=========================================================*/

.top-bar {
    background: #232323;
    height: 42px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.top-left a,
.top-right a {
    color: #ffffff;
    font-size: 14px;
    transition: .3s;
}

.top-left a:hover,
.top-right a:hover {
    color: #ff6b00;
}

.top-right i {
    color: #ff6b00;
    margin-right: 7px;
}

/*==================================================*
* MOBILE OVERRIDE — TOP BAR
*==================================================*/

@media (max-width: 768px) {

    .top-bar {

        height: auto;

        padding: 10px 0;

    }

    .top-bar-container {

        height: auto;

        display: flex;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 7px;

        text-align: center;

    }

    .top-left,
    .top-right {

        display: flex;

        align-items: center;

        justify-content: center;

        flex-wrap: wrap;

        gap: 8px 18px;

        width: 100%;

    }

    .top-left a,
    .top-right a {

        font-size: 12px;

        line-height: 1.4;

        white-space: nowrap;

    }

    .top-right i {

        margin-right: 5px;

        font-size: 11px;

    }

}


/*==================================================*
* SMALL MOBILE OVERRIDE — 480px
*==================================================*/

@media (max-width: 480px) {

    .top-bar {

        padding: 9px 0;

    }

    .top-bar-container {

        gap: 6px;

    }

    .top-left,
    .top-right {

        gap: 6px 12px;

    }

    .top-left a,
    .top-right a {

        font-size: 11px;

    }

    .top-right i {

        font-size: 10px;

        margin-right: 4px;

    }

}

/*=========================================================
  HEADER
=========================================================*/

.header {
    background: #ffffff;
    border-bottom: 1px solid #ececec;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    height: 95px;

}

/*=========================================================
  LOGO
=========================================================*/

.logo {

    flex: 0 0 200px;

}

.logo img {

    width: 200px;

}

/*=========================================================
  NAVIGATION
=========================================================*/

.navbar {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    margin-left: 20px;
}

.header .navbar>ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header .navbar>ul>li {
    white-space: nowrap;
}

.header .navbar>ul>li>a {

    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 17px;
    font-weight: 400;

    color: #111111;

    transition: .3s;

}

.header .navbar > ul > li > a:hover{

    color:#ff6b00;

}
.navbar ul li a i {

    font-size: 11px;
    margin-left: 6px;

    transition: 0.3s;

}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    display: none;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    padding: 10px 0;
    z-index: 9999;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a{

    display:block;

    padding:12px 20px;

    color:#222 !important;

    background:#ffffff;

}

.dropdown-menu li a:hover{

    background:#ff6b00 !important;

    color:#ffffff !important;

}

/*==================================================
  DIMENSIONS MEGA DROPDOWN
==================================================*/

.navbar {
    position: relative;
}

.nav-menu > li.dropdown:has(.dimensions-dropdown-menu) {
    position: static;
}

.nav-menu > li.dropdown > .dimensions-dropdown-menu {

    display: none;

    position: absolute;

    top: calc(100% + 20px);
    left: 50%;

    transform: translateX(-50%);

    width: 900px;
    min-width: 900px;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px 30px;

    padding: 20px;

    margin: 0;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    z-index: 9999;

    box-sizing: border-box;
}

.nav-menu > li.dropdown:hover > .dimensions-dropdown-menu {
    display: grid;
}

.nav-menu > li.dropdown > .dimensions-dropdown-menu li a {

    display: block;

    padding: 12px 20px;

    color: #222222;

    white-space: nowrap;
}

.nav-menu > li.dropdown > .dimensions-dropdown-menu li a:hover {
    background: #ff6b00 !important;
    color: #ffffff !important;
}

.dimensions-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}



@media (hover: hover) and (pointer: fine) {
    .dropdown-menu li a:hover{

        background:#ff6b00 !important;

        color:#ffffff !important;

    }
}


/*=========================================================
  HEADER RIGHT
=========================================================*/

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/*=========================================================
  BUTTON
=========================================================*/
.contact-btn {

    padding: 14px 22px;

    border: 1px solid #d7d7d7;

    color: #0B1F33;

    border-radius: 5px;

    font-size: 15px;

    font-weight: 600;

    transition: .25s ease;

}

.contact-btn:hover {

    background: #0B1F33;

    color: #ffffff;

}

.quote-btn {

    background: #ff6b00;

    color: #ffffff;

    padding: 18px 32px;

    border-radius: 5px;

    font-size: 17px;

    font-weight: 600;

    transition: .25s ease;

}

/*=========================================================
  SEARCH
=========================================================*/

.search-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #d9d9d9;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #111111;

    font-size: 22px;

    transition: 0.25s;

}

.search-btn:hover {

    border-color: #ff6b00;
    color: #ff6b00;

}

/*==================================================*
*MENU TOGGLE — DESKTOP (hidden)*
*==================================================*/

.menu-toggle {

    display: none;

    background: none;

    border: none;

    font-size: 26px;

    color: #111111;

    cursor: pointer;

}


/*=========================================================*
  MOBILE HEADER OVERRIDE
  MAX-WIDTH: 768px
=========================================================*/

@media (max-width: 768px) {


    /*=====================================================
      HEADER
    =====================================================*/

    .header-container {

        position: relative;

        height: auto;

        min-height: 85px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 10px;

        padding: 12px 0;

        flex-wrap: wrap;

    }


    /*=====================================================
      LOGO
    =====================================================*/

    .logo {

        flex: 0 0 auto;

        order: 1;

    }


    .logo img {

        width: 160px;

        height: auto;

    }


    /*=====================================================
      HEADER RIGHT
      CONTACT + QUOTE + SEARCH HIDDEN
    =====================================================*/

    .header-right {

        display: none !important;

    }


    /*=====================================================
      MOBILE MENU BUTTON
    =====================================================*/

    .menu-toggle {

        display: flex;

        align-items: center;

        justify-content: center;

        order: 2;

        width: 42px;

        height: 42px;

        padding: 0;

        margin-left: auto;

        background: transparent;

        border: none;

        color: #111111;

        font-size: 25px;

        cursor: pointer;

    }


    /*=====================================================
      NAVIGATION
    =====================================================*/

  .navbar {
    display: none;
    order: 3;
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: #ffffff;
    margin-left: 0;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);

    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }


    .navbar.active {

        display: block;

    }


    /*=====================================================
      MAIN MENU
    =====================================================*/

    .header .navbar > ul {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        width: 100%;

    }


    .header .navbar > ul > li {

        width: 100%;

        white-space: normal;

        border-bottom: 1px solid #ececec;

    }


    .header .navbar > ul > li:first-child {

        border-top: 1px solid #ececec;

    }


    .header .navbar > ul > li > a {

        width: 100%;

        min-height: 52px;

        padding: 14px 5px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        font-size: 16px;

    }


    /*=====================================================
      DROPDOWN
    =====================================================*/

    .dropdown {

        position: relative;

    }


    .dropdown-menu {

        position: static;

        width: 100%;

        min-width: 0;

        padding: 0 0 5px 15px;

        background: #f8f9fb;

        border-radius: 0;

        box-shadow: none;

        display: none;

    }


    /* Disable desktop hover dropdown on mobile */

    .dropdown:hover .dropdown-menu {

        display: none;

    }


    /* Open dropdown when JS adds active class */

    .dropdown.active .dropdown-menu {

        display: block;

    }


    /*=====================================================
      DROPDOWN ITEMS
    =====================================================*/

    .dropdown-menu li {

        width: 100%;

        border-bottom: 1px solid #e5e5e5;

    }


    .dropdown-menu li:last-child {

        border-bottom: none;

    }


    .dropdown-menu li a {

        display: block;

        width: 100%;

        padding: 12px 15px;

        font-size: 15px;

        color: #333333 !important;

        background: transparent;

    }


    .dropdown-menu li a:hover {

        background: #ff6b00 !important;

        color: #ffffff !important;

    }

    /* DIMENSIONS MEGA DROPDOWN — MOBILE */

.dropdown.active > .dimensions-dropdown-menu {

    display: block !important;

    position: static !important;

    grid-template-columns: 1fr !important;

    width: 100% !important;
    min-width: 0 !important;

    transform: none !important;
    left: auto !important;

    padding: 10px 0 !important;

    box-shadow: none !important;

    gap: 0 !important;

}

.nav-menu > li.dropdown > .dimensions-dropdown-menu li a {

    padding: 12px 20px !important;

    white-space: normal !important;

}


}


/*=========================================================*
  SMALL MOBILE HEADER OVERRIDE
  MAX-WIDTH: 480px
=========================================================*/

@media (max-width: 480px) {


    /*=====================================================
      HEADER
    =====================================================*/

    .header-container {

        min-height: 75px;

        padding: 10px 0;

        gap: 7px;

    }


    /*=====================================================
      LOGO
    =====================================================*/

    .logo img {

        width: 135px;

        height: auto;

    }


    /*=====================================================
      HEADER RIGHT
      KEEP HIDDEN
    =====================================================*/

    .header-right {

        display: none !important;

    }


    /*=====================================================
      MENU BUTTON
    =====================================================*/

    .menu-toggle {

        width: 38px;

        height: 38px;

        margin-left: auto;

        font-size: 23px;

    }


    /*=====================================================
      NAVIGATION
    =====================================================*/

    .header .navbar > ul > li > a {

        min-height: 48px;

        padding: 12px 4px;

        font-size: 15px;

    }


    /*=====================================================
      DROPDOWN
    =====================================================*/

    .dropdown-menu {

        padding-left: 10px;

    }


    .dropdown-menu li a {

        padding: 11px 12px;

        font-size: 14px;

    }

       @media (max-width: 480px) {

    .dimensions-dropdown-menu li a {

        padding: 10px 16px !important;

        font-size: 14px !important;

    }
}

}


/*==================================================
PRODUCT HERO
==================================================*/

.product-hero {

    background: #17232f;

    padding: 90px 0;

    overflow: hidden;

}

.product-hero-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 90px;

}

.product-hero-content {

    flex: 1;

    min-width: 0;

}

/*==================================================
HERO TOP TEXT
==================================================*/

.hero-top-text {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: #F59A23;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    white-space: nowrap;

}

.hero-top-text i {

    color: #F59A23;

    font-size: 16px;

}

/*==================================================
HERO HEADING
==================================================*/

.product-hero h1 {

    font-size: 68px;

    color: #ffffff;

    line-height: 1.1;

    margin: 25px 0;

}

/*==================================================
HERO DESCRIPTION
==================================================*/

.product-hero p {

    color: #d9d9d9;

    font-size: 20px;

    line-height: 1.9;

    max-width: 700px;

}

/*==================================================
CERTIFICATIONS
==================================================*/

.hero-certifications {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin: 35px 0;

}

.hero-certifications span {

    color: #ffffff;

    font-size: 17px;

    font-weight: 500;

}

.hero-certifications i {

    color: #ef7f1a;

    margin-right: 10px;

}

/*==================================================
STANDARD BADGES
==================================================*/

.standard-badges {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 40px;

}

.standard-badges a {

    display: inline-block;

    padding: 10px 18px;

    border: 1px solid rgba(255, 255, 255, .25);

    color: #ffffff !important;

    background: transparent;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 400;

    line-height: normal;

    text-decoration: none !important;

    transition: .3s;

}

.standard-badges a:hover {

    background: #ef7f1a;

    border-color: #ef7f1a;

    color: #ffffff !important;

    text-decoration: none !important;

}

/*==================================================
HERO IMAGE
==================================================*/

.product-hero-image {

    flex: 1;

    min-width: 0;

    display: flex;

    justify-content: flex-end;

    align-items: center;

}

.product-hero-image img {

    width: 110%;

    max-width: 950px;

    height: auto;

    object-fit: contain;

    transform: translateY(-35px);

}

/*==================================================
HERO BUTTONS
==================================================*/

.hero-buttons {

    display: flex;

    gap: 22px;

}

.catalogue-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 18px 34px;

    border: 1px solid rgba(255, 255, 255, .25);

    color: #ffffff;

    border-radius: 6px;

    font-size: 17px;

    font-weight: 600;

    transition: .35s;

}

.catalogue-btn:hover {

    background: #ffffff;

    color: #17232f;

}

/*=========================================================
  RTJ HERO — MOBILE OVERRIDE
=========================================================*/

@media (max-width: 768px) {

    /*==================================================
      PRODUCT HERO
    ==================================================*/

    .product-hero {

        padding: 55px 0 60px;

        overflow: hidden;

    }


    .product-hero-container {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 35px;

    }


    /*==================================================
      HERO CONTENT
    ==================================================*/

    .product-hero-content {

        width: 100%;

        text-align: left;

    }


    /*==================================================
      HERO TOP TEXT
    ==================================================*/

    .hero-top-text {

        display: flex;

        align-items: center;

        gap: 8px;

        font-size: 11px;

        letter-spacing: 1.5px;

        line-height: 1.5;

        white-space: normal;

    }


    .hero-top-text i {

        flex-shrink: 0;

        font-size: 14px;

    }


    /*==================================================
      HERO HEADING
    ==================================================*/

    .product-hero h1 {

        font-size: 42px;

        line-height: 1.15;

        margin: 18px 0 22px;

    }


    /*==================================================
      HERO DESCRIPTION
    ==================================================*/

    .product-hero p {

        max-width: 100%;

        font-size: 16px;

        line-height: 1.8;

        color: #d9d9d9;

    }


    /*==================================================
      CERTIFICATIONS
    ==================================================*/

    .hero-certifications {

        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;

        margin: 28px 0;

    }


    .hero-certifications span {

        font-size: 15px;

        line-height: 1.5;

    }


    .hero-certifications i {

        margin-right: 8px;

    }


    /*==================================================
      STANDARD BADGES
    ==================================================*/

    .standard-badges {

        display: flex;

        flex-wrap: wrap;

        gap: 9px;

        margin-bottom: 30px;

    }


    .standard-badges span {

        padding: 8px 13px;

        font-size: 12px;

        border-radius: 5px;

    }


    /*==================================================
      HERO BUTTONS
    ==================================================*/

    .hero-buttons {

        display: flex;

        flex-direction: column;

        gap: 12px;

        width: 100%;

    }


    .hero-buttons .quote-btn,
    .hero-buttons .catalogue-btn {

        width: 100%;

        min-height: 54px;

        padding: 15px 20px;

        justify-content: center;

        text-align: center;

        font-size: 16px;

    }


    /*==================================================
      HERO IMAGE
    ==================================================*/

    .product-hero-image {

        width: 100%;

        display: flex;

        justify-content: center;

        align-items: center;

        order: 2;

    }


    .product-hero-image img {

        width: 100%;

        max-width: 600px;

        height: auto;

        transform: none;

        object-fit: contain;

    }

}


/*=========================================================
  RTJ HERO — SMALL MOBILE OVERRIDE
  480px
=========================================================*/

@media (max-width: 480px) {

    /*==================================================
      PRODUCT HERO
    ==================================================*/

    .product-hero {

        padding: 42px 0 45px;

    }


    .product-hero-container {

        gap: 28px;

    }


    /*==================================================
      HERO TOP TEXT
    ==================================================*/

    .hero-top-text {

        font-size: 9.5px;

        letter-spacing: 1px;

        gap: 7px;

    }


    .hero-top-text i {

        font-size: 12px;

    }


    /*==================================================
      HERO HEADING
    ==================================================*/

    .product-hero h1 {

        font-size: 34px;

        line-height: 1.15;

        margin: 16px 0 18px;

    }


    /*==================================================
      HERO DESCRIPTION
    ==================================================*/

    .product-hero p {

        font-size: 14px;

        line-height: 1.75;

    }


    /*==================================================
      CERTIFICATIONS
    ==================================================*/

    .hero-certifications {

        gap: 10px;

        margin: 24px 0;

    }


    .hero-certifications span {

        font-size: 13px;

    }


    .hero-certifications i {

        font-size: 12px;

        margin-right: 6px;

    }


    /*==================================================
      STANDARD BADGES
    ==================================================*/

    .standard-badges {

        gap: 7px;

        margin-bottom: 25px;

    }


    .standard-badges span {

        padding: 7px 11px;

        font-size: 11px;

    }


    /*==================================================
      HERO BUTTONS
    ==================================================*/

    .hero-buttons {

        gap: 10px;

    }


    .hero-buttons .quote-btn,
    .hero-buttons .catalogue-btn {

        min-height: 50px;

        padding: 13px 16px;

        font-size: 14px;

    }


    /*==================================================
      HERO IMAGE
    ==================================================*/

    .product-hero-image {

        width: 100%;

    }


    .product-hero-image img {

        width: 100%;

        max-width: 380px;

        transform: none;

    }

}

/*==================================================*
RING TYPE JOINR FLANGE TYPES
*==================================================*/

.flange-range {

    padding: 120px 0;

    background: #f5f7fa;

}

.flange-range .container {

    max-width: 1200px;

    margin: 0 auto;

}


/*==================================================*
SECTION HEADING
*==================================================*/

.flange-range-header {

    text-align: center;

    margin-bottom: 70px;

}

.flange-range-header h2 {

    text-align: center;

    color: #0F2942;

    font-size: 52px;

    line-height: 1.15;

    margin: 0 0 20px;

}

.flange-range-header p {

    max-width: 780px;

    margin: 0 auto;

    text-align: center;

    color: #5b6673;

    font-size: 18px;

    line-height: 1.8;

}

.flange-range-header strong {

    color: #0F2942;

}


/*==================================================*
SHOWCASE CARD
*==================================================*/

.flange-type-card {

    display: grid;

    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);

    align-items: center;

    gap: 55px;

    padding: 45px;

    margin-bottom: 45px;

    background: #ffffff;

    border-radius: 20px;

    border: 1px solid rgba(15, 41, 66, .08);

    box-shadow:
        0 15px 40px rgba(15, 41, 66, .08);

    transition: .35s ease;

}

.flange-type-card:hover {

    box-shadow:
        0 20px 50px rgba(15, 41, 66, .13);

}


/*==================================================*
ALTERNATE DIRECTION
*==================================================*/

.flange-type-card.reverse {

    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);

}


/*==================================================*
IMAGE
*==================================================*/

.flange-type-image {

    width: 100%;

    height: 300px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 14px;

    background: #f5f7fa;

}

.flange-type-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: transform .4s ease;

}

.flange-type-card:hover .flange-type-image img {

    transform: scale(1.04);

}


/*==================================================*
CONTENT
*==================================================*/

.flange-type-content {

    min-width: 0;

}

.flange-type-content h3 {

    color: #0F2942;

    font-size: 32px;

    line-height: 1.2;

    margin: 0 0 22px;

}

.flange-type-content p {

    color: #5b6673;

    font-size: 17px;

    line-height: 1.8;

    margin: 0 0 28px;

}

.flange-type-content strong {

    color: #0F2942;

}


/*==================================================*
EXPLORE BUTTON
*==================================================*/

.flange-type-content a {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 14px 22px;

    background: #ff6b00;

    color: #ffffff;

    border-radius: 6px;

    font-size: 15px;

    font-weight: 600;

    text-decoration: none;

    transition: .35s ease;

}

.flange-type-content a i {

    transition: .35s ease;

}

.flange-type-content a:hover {

    background: #0F2942;

    color: #ffffff;

}

.flange-type-content a:hover i {

    transform: translateX(6px);

}


/*=========================================================
  RING TYPE JOINT FLANGE TYPES
  MOBILE OVERRIDE — 768px
=========================================================*/

@media (max-width: 768px) {

    /*==================================================
      MAIN SECTION
    ==================================================*/

    .flange-range {

        padding: 70px 0 60px;

        background: #f5f7fa;

    }


    .flange-range .container {

        width: 92%;

        max-width: 100%;

        margin: 0 auto;

    }


    /*==================================================
      SECTION HEADER
    ==================================================*/

    .flange-range-header {

        text-align: center;

        margin-bottom: 45px;

    }


    .flange-range-header h2 {

        font-size: 40px;

        line-height: 1.2;

        margin: 0 0 18px;

    }


    .flange-range-header p {

        max-width: 100%;

        font-size: 16px;

        line-height: 1.75;

    }


    /*==================================================
      FLANGE TYPE CARD
    ==================================================*/

    .flange-type-card,
    .flange-type-card.reverse {

        display: grid;

        grid-template-columns: 1fr;

        gap: 30px;

        padding: 28px;

        margin-bottom: 30px;

        border-radius: 16px;

    }


    /*==================================================
      NORMAL CARD
      IMAGE → CONTENT
    ==================================================*/

    .flange-type-card:not(.reverse) .flange-type-image {

        order: 1;

    }


    .flange-type-card:not(.reverse) .flange-type-content {

        order: 2;

    }


    /*==================================================
      REVERSE CARD
      IMAGE → CONTENT
      Mobile par same consistent layout
    ==================================================*/

    .flange-type-card.reverse .flange-type-image {

        order: 1;

    }


    .flange-type-card.reverse .flange-type-content {

        order: 2;

    }


    /*==================================================
      FLANGE IMAGE
    ==================================================*/

    .flange-type-image {

        width: 100%;

        height: 270px;

        border-radius: 12px;

        overflow: hidden;

    }


    .flange-type-image img {

        width: 100%;

        height: 100%;

        object-fit: contain;

    }


    /*==================================================
      CONTENT
    ==================================================*/

    .flange-type-content {

        width: 100%;

        min-width: 0;

    }


    .flange-type-content h3 {

        font-size: 29px;

        line-height: 1.25;

        margin: 0 0 18px;

    }


    .flange-type-content p {

        font-size: 16px;

        line-height: 1.75;

        margin: 0 0 24px;

    }


    /*==================================================
      EXPLORE BUTTON
    ==================================================*/

    .flange-type-content a {

        display: inline-flex;

        align-items: center;

        justify-content: center;

        gap: 10px;

        padding: 13px 20px;

        font-size: 14px;

        line-height: 1.4;

    }


    .flange-type-content a i {

        font-size: 14px;

    }

}


/*=========================================================
  RING TYPE JOINT FLANGE TYPES
  SMALL MOBILE OVERRIDE — 480px
=========================================================*/

@media (max-width: 480px) {

    /*==================================================
      MAIN SECTION
    ==================================================*/

    .flange-range {

        padding: 55px 0 45px;

    }


    .flange-range .container {

        width: 92%;

        max-width: 100%;

    }


    /*==================================================
      SECTION HEADER
    ==================================================*/

    .flange-range-header {

        margin-bottom: 35px;

    }


    .flange-range-header h2 {

        font-size: 32px;

        line-height: 1.2;

        margin-bottom: 16px;

    }


    .flange-range-header p {

        font-size: 14px;

        line-height: 1.7;

    }


    /*==================================================
      FLANGE TYPE CARD
    ==================================================*/

    .flange-type-card,
    .flange-type-card.reverse {

        grid-template-columns: 1fr;

        gap: 23px;

        padding: 20px;

        margin-bottom: 24px;

        border-radius: 14px;

        box-shadow:
            0 10px 28px rgba(15, 41, 66, .07);

    }


    /*==================================================
      IMAGE
    ==================================================*/

    .flange-type-image {

        width: 100%;

        height: 210px;

        border-radius: 10px;

    }


    .flange-type-image img {

        width: 100%;

        height: 100%;

        object-fit: contain;

    }


    /*==================================================
      CONTENT
    ==================================================*/

    .flange-type-content h3 {

        font-size: 25px;

        line-height: 1.25;

        margin-bottom: 15px;

    }


    .flange-type-content p {

        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 20px;

    }


    /*==================================================
      EXPLORE BUTTON
    ==================================================*/

    .flange-type-content a {

        width: 100%;

        min-height: 48px;

        padding: 12px 16px;

        font-size: 13px;

        text-align: center;

    }


    .flange-type-content a i {

        font-size: 13px;

    }

}

/*==================================================
CTA
==================================================*/

.cta-section {

    background-color: #d4822f;

    padding: 70px 20px;

    text-align: center;

}

.cta-section h2 {

    color: #ffffff;

    font-size: 42px;

    font-weight: 800;

    margin-bottom: 15px;

}

.cta-section p {

    color: #ffffff;

    font-size: 20px;

    margin-bottom: 30px;

    opacity: .95;

}


/*==================================================
CTA BUTTON GROUP
==================================================*/

.cta-btn-group {

    display: flex;

    gap: 16px;

    justify-content: center;

    flex-wrap: wrap;

}


/*==================================================
CTA BUTTONS
==================================================*/

.cta-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 28px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 700;

    font-size: 17px;

    transition: .3s ease;

}


/* PRIMARY */

.cta-btn-primary {

    background-color: #0a2540;

    color: #ffffff;

}

.cta-btn-primary:hover {

    background-color: #ffffff;

    color: #d4822f;

}


/* SECONDARY */

.cta-btn-secondary {

    background-color: #0a2540;

    color: #ffffff;

    border: 2px solid #0a2540;

}

.cta-btn-secondary:hover {

    background-color: #ffffff;

    color: #d4822f;

}


/*==================================================
FOOTER
==================================================*/

.footer {

    background: #17232f;

    padding: 80px 0 25px;

    color: #ffffff;

}

.footer-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 45px;

}


/*==================================================
FOOTER HEADINGS
==================================================*/

.footer-column h4 {

    color: #ef7f1a;

    font-size: 14px;

    letter-spacing: 2px;

    margin-bottom: 25px;

}


/*==================================================
FOOTER LINKS
==================================================*/

.footer-column ul li {

    margin-bottom: 14px;

}

.footer-column ul li a {

    color: #cfcfcf;

    font-size: 15px;

    transition: .3s;

}

.footer-column ul li a:hover {

    color: #ef7f1a;

}


/*==================================================
FOOTER CONTACT
==================================================*/

.footer-contact p {

    display: flex;

    gap: 12px;

    margin-bottom: 18px;

    color: #d9d9d9;

    line-height: 1.7;

}

.footer-contact i {

    color: #ef7f1a;

    margin-top: 4px;

    flex-shrink: 0;

}

.footer-contact a {

    color: #d9d9d9;

    transition: .3s;

}

.footer-contact a:hover {

    color: #ef7f1a;

}


/*==================================================
FOOTER SOCIAL
==================================================*/

.footer-social {

    display: flex;

    gap: 14px;

    margin: 25px 0;

    flex-wrap: wrap;

}

.footer-social a {

    width: 50px;

    height: 50px;

    border: 2px solid #ef7f1a;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 8px;

    color: #ef7f1a;

    transition: .35s;

}

.footer-social a:hover {

    background: #ef7f1a;

    color: #ffffff;

    transform: translateY(-4px);

}


/*==================================================
LIVE DATE TIME
==================================================*/

#liveDateTime {

    font-size: 17px;

    margin-top: 18px;

    color: #ffffff;

    line-height: 1.4;

}


/*==================================================
FOOTER BOTTOM
==================================================*/

.footer-bottom {

    margin-top: 60px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, .1);

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.footer-bottom p {

    color: #cfcfcf;

}

.footer-bottom div {

    display: flex;

    gap: 25px;

}

.footer-bottom a {

    color: #cfcfcf;

    transition: .3s;

}

.footer-bottom a:hover {

    color: #ef7f1a;

}


/*==================================================
FLOATING WHATSAPP
==================================================*/

.whatsapp-float {

    position: fixed;

    right: 30px;

    bottom: 30px;

    width: 65px;

    height: 65px;

    border-radius: 50%;

    background: #25D366;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    box-shadow: 0 12px 30px rgba(37,211,102,.35);

    z-index: 9999;

    transition: .35s ease;

}

.whatsapp-float i {

    color: #ffffff;

    font-size: 34px;

}

.whatsapp-float:hover {

    transform: translateY(-6px) scale(1.08);

    box-shadow: 0 18px 38px rgba(37,211,102,.45);

}

/*=========================================================
  MOBILE OVERRIDE — CTA + FOOTER + WHATSAPP
  MAX WIDTH: 768px
=========================================================*/

@media (max-width: 768px) {


    /*=====================================================
      CTA SECTION
    =====================================================*/

    .cta-section {

        padding: 60px 20px;

    }


    .cta-section h2 {

        font-size: 34px;

        line-height: 1.25;

        margin-bottom: 15px;

    }


    .cta-section p {

        font-size: 17px;

        line-height: 1.6;

        margin-bottom: 28px;

    }


    /*=====================================================
      CTA BUTTON GROUP
    =====================================================*/

    .cta-btn-group {

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 14px;

        width: 100%;

    }


    /*=====================================================
      CTA BUTTONS
    =====================================================*/

    .cta-btn {

        width: 100%;

        max-width: 340px;

        padding: 14px 20px;

        font-size: 16px;

    }


    /*=====================================================
      FOOTER
    =====================================================*/

    .footer {

        padding: 60px 20px 25px;

    }


    /*=====================================================
      FOOTER GRID
    =====================================================*/

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    /*=====================================================
      FOOTER HEADINGS
    =====================================================*/

    .footer-column h4 {

        font-size: 14px;

        margin-bottom: 18px;

        letter-spacing: 2px;

    }


    /*=====================================================
      FOOTER LINKS
    =====================================================*/

    .footer-column ul li {

        margin-bottom: 12px;

    }


    .footer-column ul li a {

        font-size: 15px;

    }


    /*=====================================================
      FOOTER CONTACT
    =====================================================*/

    .footer-contact p {

        gap: 10px;

        margin-bottom: 16px;

        font-size: 15px;

        line-height: 1.6;

    }


    .footer-contact i {

        margin-top: 4px;

        flex-shrink: 0;

    }


    /*=====================================================
      FOOTER SOCIAL
    =====================================================*/

    .footer-social {

        display: flex;

        flex-wrap: wrap;

        gap: 12px;

        margin: 22px 0;

    }


    .footer-social a {

        width: 46px;

        height: 46px;

        border-width: 2px;

    }


    /*=====================================================
      LIVE DATE TIME
    =====================================================*/

    #liveDateTime {

        font-size: 15px;

        line-height: 1.5;

        margin-top: 15px;

    }


    /*=====================================================
      FOOTER BOTTOM
    =====================================================*/

    .footer-bottom {

        margin-top: 45px;

        padding-top: 22px;

        display: flex;

        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 18px;

    }


    .footer-bottom p {

        font-size: 14px;

        line-height: 1.6;

    }


    .footer-bottom div {

        display: flex;

        flex-wrap: wrap;

        justify-content: center;

        gap: 12px 20px;

    }


    .footer-bottom a {

        font-size: 14px;

    }


    /*=====================================================
      FLOATING WHATSAPP
    =====================================================*/

    .whatsapp-float {

        right: 20px;

        bottom: 20px;

        width: 58px;

        height: 58px;

    }


    .whatsapp-float i {

        font-size: 30px;

    }

}


/*=========================================================
  SMALL MOBILE OVERRIDE
  MAX WIDTH: 480px
=========================================================*/

@media (max-width: 480px) {


    /*=====================================================
      CTA SECTION
    =====================================================*/

    .cta-section {

        padding: 50px 18px;

    }


    .cta-section h2 {

        font-size: 28px;

        line-height: 1.3;

        margin-bottom: 14px;

    }


    .cta-section p {

        font-size: 15px;

        line-height: 1.6;

        margin-bottom: 24px;

    }


    /*=====================================================
      CTA BUTTON GROUP
    =====================================================*/

    .cta-btn-group {

        gap: 12px;

    }


    .cta-btn {

        width: 100%;

        max-width: 100%;

        padding: 13px 16px;

        font-size: 15px;

        border-radius: 7px;

    }


    /*=====================================================
      FOOTER
    =====================================================*/

    .footer {

        padding: 50px 18px 20px;

    }


    /*=====================================================
      FOOTER GRID
    =====================================================*/

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 34px;

    }


    /*=====================================================
      FOOTER HEADINGS
    =====================================================*/

    .footer-column h4 {

        font-size: 13px;

        letter-spacing: 1.8px;

        margin-bottom: 16px;

    }


    /*=====================================================
      FOOTER LINKS
    =====================================================*/

    .footer-column ul li {

        margin-bottom: 10px;

    }


    .footer-column ul li a {

        font-size: 14px;

    }


    /*=====================================================
      FOOTER CONTACT
    =====================================================*/

    .footer-contact p {

        font-size: 14px;

        line-height: 1.6;

        gap: 9px;

        margin-bottom: 14px;

    }


    /*=====================================================
      FOOTER SOCIAL
    =====================================================*/

    .footer-social {

        gap: 10px;

        margin: 20px 0;

    }


    .footer-social a {

        width: 44px;

        height: 44px;

    }


    /*=====================================================
      LIVE DATE TIME
    =====================================================*/

    #liveDateTime {

        font-size: 14px;

        line-height: 1.5;

        word-break: break-word;

    }


    /*=====================================================
      FOOTER BOTTOM
    =====================================================*/

    .footer-bottom {

        margin-top: 35px;

        padding-top: 20px;

        gap: 15px;

    }


    .footer-bottom p {

        font-size: 13px;

    }


    .footer-bottom div {

        gap: 10px 16px;

    }


    .footer-bottom a {

        font-size: 13px;

    }


    /*=====================================================
      FLOATING WHATSAPP
    =====================================================*/

    .whatsapp-float {

        right: 15px;

        bottom: 15px;

        width: 54px;

        height: 54px;

    }


    .whatsapp-float i {

        font-size: 28px;

    }

}