/*=========================================================
  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;
}

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

@media (max-width: 768px) {

    .top-bar {
        height: auto;
        padding: 10px 0;
    }

    .top-bar-container {
        height: auto;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-left,
    .top-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .top-left a,
    .top-right a {
        font-size: 12px;
    }

}

/*==================================================
TOP BAR — SMALL MOBILE
==================================================*/

@media (max-width: 400px) {

    .top-bar {
        padding: 8px 0;
    }

    .top-left,
    .top-right {
        gap: 6px 14px;
    }

    .top-left a,
    .top-right a {
        font-size: 11px;
    }

}


/*=========================================================
  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
==================================================*/

@media (max-width: 768px) {

    .header-container {

        position: relative;

        height: 80px;

    }


    /* LOGO */

    .logo {

        flex: 0 0 auto;

    }

    .logo img {

        width: 170px;

    }


    /* HIDE DESKTOP CONTROLS */

    .header-right {

        display: none;

    }


    /* HAMBURGER */

    .menu-toggle {

        display: flex;

        align-items: center;

        justify-content: center;

        margin-left: auto;

        width: 44px;

        height: 44px;

        background: none;

        border: none;

        font-size: 26px;

        color: #111111;

        cursor: pointer;

    }


    /* MOBILE 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;

    }


    .header .navbar > ul {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        width: 100%;

    }


    .header .navbar > ul > li {

        width: 100%;

        border-bottom: 1px solid #ececec;

    }


    .header .navbar > ul > li > a {

        width: 100%;

        padding: 14px 20px;

        justify-content: space-between;

    }


    /* MOBILE DROPDOWN */

    .dropdown-menu {

        position: static;

        display: none;

        width: 100%;

        min-width: 0;

        padding: 0 0 0 15px;

        box-shadow: none;

        border-radius: 0;

    }


    .dropdown.active .dropdown-menu {

        display: block;

    }

        /* 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
==================================================*/

@media (max-width: 400px) {

    .header-container {

        height: 72px;

    }


    .logo img {

        width: 150px;

    }


    .menu-toggle {

        width: 40px;

        height: 40px;

        font-size: 24px;

    }


    .header .navbar > ul > li > a {

        padding: 13px 16px;

        font-size: 15px;

    }

          @media (max-width: 480px) {

    .dimensions-dropdown-menu li a {

        padding: 10px 16px !important;

        font-size: 14px !important;

    }
}

}

/* =====================================================
   BS EN 1092-1 — HERO BREADCRUMB
===================================================== */

.e1__content .flange-breadcrumb {
    display: block;
    width: 100%;
    margin: 0 0 18px;
}

.e1__content .flange-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.e1__content .flange-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
    line-height: 1.5;
}

.e1__content .flange-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.e1__content .flange-breadcrumb a:hover {
    color: #ff982f;
}

.e1__content .flange-breadcrumb .breadcrumb-separator {
    color: #8998a8;
}

.e1__content .flange-breadcrumb .breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 600px) {
    .e1__content .flange-breadcrumb {
        margin-bottom: 14px;
    }

    .e1__content .flange-breadcrumb li {
        font-size: 11px;
        gap: 6px;
    }

    .e1__content .flange-breadcrumb ol {
        gap: 6px;
    }
}


/* =========================================================
   BS EN 1092-1 — FLANGE DIMENSIONS HERO
========================================================= */

.e1-hero {
    --e1-navy: #172633;
    --e1-orange: #ff7900;
    --e1-white: #ffffff;
    --e1-muted: #d5dfe7;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    background:
        radial-gradient(
            ellipse at 78% 45%,
            rgba(45, 74, 94, 0.32),
            transparent 48%
        ),
        var(--e1-navy);
    color: var(--e1-white);
    font-family: "Poppins", Arial, sans-serif;
}

.e1-hero,
.e1-hero * {
    box-sizing: border-box;
}

/* Subtle engineering grid */

.e1-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        linear-gradient(
            rgba(255,255,255,0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.07) 1px,
            transparent 1px
        );
    background-size: 34px 34px;
}

/* MAIN LAYOUT */

.e1-hero__container {
    width: min(1240px, calc(100% - 48px));
    min-height: 408px;
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: 34px;
}

/* LEFT CONTENT */

.e1-hero__content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.e1-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 19px;
    color: #ffb15e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.15px;
    line-height: 1.7;
}

.e1-hero__accent {
    color: var(--e1-orange);
    font-size: 15px;
}

.e1-hero h1 {
    margin: 0;
    color: var(--e1-white);
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -1.1px;
}

.e1-hero h1 span {
    display: block;
    color: #ff9d36;
}

.e1-hero__description {
    max-width: 480px;
    margin: 18px 0 20px;
    color: var(--e1-muted);
    font-size: 13px;
    line-height: 1.9;
}

/* STATISTICS */

.e1-hero__stats {
    display: flex;
    align-items: stretch;
    margin: 0 0 24px;
}

.e1-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 0 15px;
    border-left: 1px solid rgba(255,255,255,0.24);
}

.e1-hero__stat:first-child {
    padding-left: 0;
    border-left: none;
}

.e1-hero__stat strong {
    color: #ff9d36;
    font-size: clamp(14px, 1.4vw, 19px);
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.e1-hero__stat span {
    color: #d0dbe4;
    font-size: 10px;
    line-height: 1.5;
}

/* BUTTONS */

.e1-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.e1-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 43px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.e1-hero__button--primary {
    background: var(--e1-orange);
    border-color: var(--e1-orange);
    color: #ffffff;
}

.e1-hero__button--primary:hover {
    background: #e96e00;
    border-color: #e96e00;
    color: #ffffff;
    transform: translateY(-2px);
}

.e1-hero__button--secondary {
    background: transparent;
    border-color: #647481;
    color: #ffffff;
}

.e1-hero__button--secondary:hover {
    border-color: var(--e1-orange);
    color: #ff9d36;
}

/* RIGHT ILLUSTRATION */

.e1-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 300px;
}

.e1-hero__glow {
    position: absolute;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(67, 100, 122, 0.17);
    filter: blur(48px);
    pointer-events: none;
}

.e1-hero__image {
    position: relative;
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* TABLET */

@media (max-width: 950px) {
    .e1-hero__container {
        width: calc(100% - 40px);
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
        padding: 36px 0;
    }

    .e1-hero h1 {
        font-size: clamp(29px, 3.6vw, 38px);
    }

    .e1-hero__eyebrow {
        font-size: 9px;
        letter-spacing: 0.7px;
    }

    .e1-hero__description {
        font-size: 12px;
    }

    .e1-hero__stat {
        padding: 0 9px;
    }

    .e1-hero__stat strong {
        font-size: 13px;
    }

    .e1-hero__stat span {
        font-size: 9px;
    }

    .e1-hero__visual {
        min-height: 250px;
    }
}

/* MOBILE */

@media (max-width: 680px) {
    .e1-hero__container {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 34px 0 28px;
    }

    .e1-hero__eyebrow {
        margin-bottom: 14px;
        font-size: 9px;
    }

    .e1-hero h1 {
        font-size: clamp(30px, 8vw, 40px);
        letter-spacing: -0.7px;
    }

    .e1-hero__description {
        margin: 15px 0 20px;
        font-size: 12px;
        line-height: 1.8;
    }

    .e1-hero__stats {
        margin-bottom: 22px;
    }

    .e1-hero__stat {
        flex: 1;
        padding: 0 10px;
    }

    .e1-hero__stat:first-child {
        padding-left: 0;
    }

    .e1-hero__stat strong {
        font-size: clamp(12px, 3.3vw, 17px);
    }

    .e1-hero__stat span {
        font-size: 9px;
    }

    .e1-hero__button {
        min-height: 42px;
        padding: 11px 14px;
        font-size: 10px;
    }

    .e1-hero__visual {
        min-height: 0;
    }

    .e1-hero__image {
        width: 100%;
    }
}

/* EXTRA SMALL MOBILE */

@media (max-width: 380px) {
    .e1-hero__container {
        width: calc(100% - 28px);
    }

    .e1-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .e1-hero__button {
        width: 100%;
    }

    .e1-hero__stat {
        padding: 0 7px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .e1-hero__button {
        transition: none;
    }
}

/*==================================================
  BROWSE CARDS (white cards + drawing tile)
  File: /css/browse-cards.css
==================================================*/

.e1-page {
    padding: 26px 0 80px;
    background-color: #eef2f6;
    background-image: url("/images/asme-b16.5.jpg/background.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.e1-page,
.e1-page * {
    box-sizing: border-box;
}

.e1-container {
    width: min(1010px, calc(100% - 40px));
    margin: 0 auto;
}

.e1-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    font-size: 14px;
    color: #94a3b8;
}

.e1-crumb a {
    color: #64748b;
    text-decoration: none;
}

.e1-crumb a:hover {
    color: #0f2942;
}

.e1-crumb span:last-child {
    color: #0f2942;
    font-weight: 600;
}

.e1-heading {
    max-width: 700px;
    margin: 0 auto 44px;
    text-align: center;
}

.e1-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(245, 130, 32, 0.12);
    color: #f58220;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border-radius: 30px;
}

.e1-heading h2 {
    margin: 0 0 14px;
    color: #0e3558;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.e1-heading h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 14px auto 0;
    background: #f58220;
    border-radius: 2px;
}

.e1-heading p {
    margin: 0;
    color: #4a5f72;
    font-size: 15px;
    line-height: 1.7;
}

.e1-group {
    margin-bottom: 44px;
}

.e1-group-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 18px;
    color: #0e3558;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.e1-group-title small {
    color: #788b9a;
    font-size: 14px;
    font-weight: 500;
}

.e1-group-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(245, 130, 32, 0.45);
    align-self: center;
}

.e1-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.e1-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 16px 26px 16px 16px;
    background: #ffffff;
    border: 1px solid #f58220;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(14, 53, 88, 0.08);
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.e1-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(14, 53, 88, 0.13);
}

.e1-card:focus-visible {
    outline: 3px solid #0e3558;
    outline-offset: 3px;
}

.e1-art {
    width: 170px;
    height: 104px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d2947;
    border-radius: 10px;
}

.e1-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.e1-info h4 {
    margin: 0 0 4px;
    color: #0e3558;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.e1-info p {
    margin: 0;
    color: #4a5f72;
    font-size: 15px;
    line-height: 1.5;
}

.e1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 155px;
    padding: 11px 15px;
    background: #ffffff;
    border: 1px solid #f58220;
    border-radius: 4px;
    color: #0e3558;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

.e1-arrow {
    color: #f58220;
    font-size: 18px;
    transition: transform 0.25s ease;
}

.e1-card:hover .e1-btn {
    background: #f58220;
}

.e1-card:hover .e1-btn,
.e1-card:hover .e1-arrow {
    color: #ffffff;
}

.e1-card:hover .e1-arrow {
    transform: translateX(4px);
}

/* CTA heading must wrap on phones */
.cta-section h2 {
    white-space: normal;
}

@media (max-width: 900px) {
    .e1-card {
        grid-template-columns: 140px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .e1-art {
        width: 140px;
        height: 90px;
    }

    .e1-btn {
        min-width: 130px;
    }
}

@media (max-width: 640px) {
    .e1-page {
        padding-bottom: 56px;
    }

    .e1-heading {
        margin-bottom: 32px;
    }

    .e1-group {
        margin-bottom: 34px;
    }

    .e1-group-title {
        flex-wrap: wrap;
        font-size: 18px;
    }

    .e1-group-title::after {
        display: none;
    }

    .e1-list {
        gap: 18px;
    }

    .e1-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

    .e1-art {
        width: 100%;
        height: 110px;
    }

    .e1-btn {
        width: 100%;
    }
}


/* DESCRIPTION UNDER EACH PN RATING */

.e1-description {
    margin-top: 6px;
    color: #647789;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 400;
}

/* Keep card content aligned */

.e1-card {
    min-height: 130px;
}

/* Tablet */

@media (max-width: 900px) {
    .e1-description {
        font-size: 11px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .e1-card {
        min-height: 0;
    }

    .e1-description {
        font-size: 12px;
        line-height: 1.6;
    }
}

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

.cta-section {

    background-color: #d4822f;

    padding: 34px 20px;

    text-align: center;

}

.cta-section h2 {

    color: #ffffff;

    font-size: 32px;

    font-weight: 800;

    margin-bottom: 5px;

    white-space: nowrap;

}

.cta-section p {

    color: #ffffff;

    font-size: 16px;

    font-weight: 500;

    margin-bottom: 10px;

    opacity: .95;

}


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

.cta-btn-group {

    display: flex;

    gap: 10px;

    justify-content: center;

    flex-wrap: wrap;

}


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

.cta-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 10px 18px;

    border-radius: 7px;

    text-decoration: none;

    font-weight: 700;

    font-size: 14px;

    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;

}


/*==================================================
  CTA — TABLET
==================================================*/

@media (max-width: 768px) {

    .cta-section {

        padding: 55px 18px;

    }

    .cta-section h2 {

        font-size: 30px;

        white-space: normal;

        line-height: 1.25;

        margin-bottom: 14px;

    }

    .cta-section p {

        font-size: 16px;

        line-height: 1.6;

        margin-bottom: 26px;

    }

    .cta-btn-group {

        gap: 12px;

    }

    .cta-btn {

        padding: 13px 24px;

        font-size: 16px;

    }

}


/*==================================================
  CTA — SMALL MOBILE
==================================================*/

@media (max-width: 480px) {

    .cta-section {

        padding: 45px 15px;

    }

    .cta-section h2 {

        font-size: 24px;

        line-height: 1.3;

        margin-bottom: 12px;

    }

    .cta-section p {

        font-size: 14px;

        line-height: 1.55;

        margin-bottom: 22px;

    }

    .cta-btn-group {

        flex-direction: column;

        align-items: center;

        gap: 10px;

    }

    .cta-btn {

        width: 100%;

        max-width: 280px;

        padding: 12px 20px;

        font-size: 15px;

    }

}


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

.footer {

    background: #17232f;

    padding: 55px 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-meta-row {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 24px;

    margin-top: 0;

}

.footer-hours {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: #d9d9d9;

    font-size: 14px;

    line-height: 1.5;

    white-space: nowrap;

}

.footer-hours i {

    color: #ef7f1a;

    margin-top: 3px;

}

.footer-social {

    display: flex;

    gap: 10px;

    margin: 0;

    flex-wrap: wrap;

}

.footer-social a {

    width: 38px;

    height: 38px;

    border: 2px solid #ef7f1a;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 7px;

    color: #ef7f1a;

    font-size: 14px;

    transition: .35s;

}


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

#liveDateTime {

    font-size: 15px;

    margin-top: 0;

    color: #ffffff;

    white-space: nowrap;

}


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

.footer-bottom {

    margin-top: 30px;

    padding-top: 22px;

    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 META ROW
    =====================================================*/

    .footer-meta-row {

        flex-direction: column;

        align-items: flex-start;

        gap: 14px;

        margin-top: 25px;

    }


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

    .footer-social {

        display: flex;

        flex-wrap: wrap;

        gap: 12px;

        margin: 0;

    }


    .footer-social a {

        width: 42px;

        height: 42px;

        border-width: 2px;

    }


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

    #liveDateTime {

        font-size: 14px;

        line-height: 1.5;

        margin-top: 0;

    }


    /*=====================================================
      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;

    }

}
