/* =========================================================
   Heat Treat 2000 – Classic Theme Styles
   Ported from original Concrete5 site
   ========================================================= */

/* ── Footer ─────────────────────────────────────────────── */
.footer, .footer-bottom, .footerlightblue { z-index: 2 !important; position: relative; }
body, p { font-family: Roboto, sans-serif; }
.featurePagePanel { margin-top: 20px; }
.footer, footer .accreditation { margin-top: 10px; }
.featurePagePanel .panel { margin-bottom: 0; border: none; }
.featurePagePanel .panel.panel-default > .panel-heading { color: #006a92; font-weight: 700; }
.featurePagePanel .panel .panel-heading {
    background: #ededed; padding: 0 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px; border-top-right-radius: 3px;
}
.featurePagePanel .panel .panel-body { padding: 20px; background: #f3f3f3; color: #000; font-size: 17px; }
.footer, footer { background: #fff; }
.featurePagePanel .panel .panel-body h2 { font-size: 19px; }
footer .accred-image { padding-left: 5px; }
footer .find-us { padding-left: 15px; }
footer .telephone { text-align: center; margin-top: 10px; line-height: 15px; }
footer .footer-heading { font-size: 16px; font-weight: 600; color: #006a92; }
.design a, .design a:hover { color: #fff; }
footer .blue-text { margin-top: 20px; margin-bottom: 15px; }
footer .footer-content { margin-top: 15px; padding-left: 15px; }
footer .footer-content p { margin: 0; }
footer .footerelement { border-right: solid 1px #10aae0; min-height: 207px; margin-top: 10px; }
.footerlightblue { background: #10aae0; height: 10px; }
.footer-bottom { background: #006a92; color: #fff; font-size: 16px; }
.footer-bottom .design, .footer-bottom .register { margin-top: 5px; font-size: 14px; }
.footer-bottom .design { float: right; }
.design a { text-decoration: none; }
.footer-email a, .header-email a { color: #000; text-decoration: none; }
.footer-email a:hover, .header-email a:hover { color: #a82300; }
.footer-content a, .footer-content1 a { color: #000; text-decoration: none; }
.footer-content a:hover, .footer-content1 a:hover { color: #a82300; }
.panel-heading a, .panel-heading a:hover { color: #fff; }

@media (max-width: 991px) {
    .footer img, .footerelement img { margin: 0 auto; }
    .telephone { text-align: center !important; }
    .footer img, .footer-2 p,
    .footerelement .blue-text, .footerelement .footer-content,
    .footerelement .footer-content1, .footerelement img { text-align: center; }
    .footerelement { border-bottom: solid 1px #10aae0; }
    .footer .footerelement { border-right: 0 !important; margin-top: 10px; }
    .footer .accreditation { text-align: center; margin: 0 auto; }
    .footer-2 .design { float: none; }
    .footer-bottom .design, .footer-bottom .register { text-align: center !important; float: none !important; clear: both; }
}

/* ── Header ──────────────────────────────────────────────── */
.HeaderWhite { background: #fff; }
.contact, .logo { margin-top: 10px; }
.HeaderText { color: #006a92; font-size: 33px; text-align: center; margin-top: 50px; font-weight: 700; }
.phone .fa-phone, .phone p { margin-top: 5px; clear: both; display: inline; }
.phone { float: right; clear: both; }
.phone img { display: inline; }
.phone .fa-phone { font-size: 20px; padding-left: 10px; color: #484848; }
.email { float: right; clear: both; margin-top: 45px; }
.email img { display: inline; }
.email .fa-envelope-o { clear: both; font-size: 20px; color: #484848; display: inline; padding-left: 10px !important; }
.email p { display: inline; }

@media (max-width: 1200px) {
    .HeaderText { color: #006a92; font-size: 18px; text-align: center; margin-top: 50px; }
    .contact { margin-top: 10px; margin-bottom: 10px; }
}
@media (max-width: 1045px) {
    .email img, .phone img { width: 17%; }
    .phone { margin-top: 14px; }
}
@media (max-width: 991px) {
    .HeaderText { text-align: center; margin-top: 10px !important; }
    .logo img { margin: 0 auto; text-align: center; }
    .HeaderWhite .contact { display: table; clear: both; margin: 0 auto 10px; text-align: center; }
    .email p { padding-left: 6px; margin-top: 3px; }
}
@media (max-width: 768px) {
    .email, .phone { float: none !important; margin-top: 7px !important; }
    .footerlightblue { background: #10aae0; height: 10px; margin-top: 10px; }
}

/* ── Base ─────────────────────────────────────────────────── */
body { font-size: 14px; line-height: 1.42857143; color: #000; background-color: #fff; min-height: 100vh; }
.innerPage p, .innerPage ul { font-size: 16px; }
.innerPage img { width: 100% !important; }
.innerPage ul { list-style: none; margin-top: 0; margin-bottom: 10px; padding-left: 20px; }
.innerPage ul li { position: relative; }
.innerPage ul li:before {
    content: ""; width: 7px; height: 7px; background: #006a92;
    border-radius: 100px; position: absolute; left: -15px;
    top: 7px;
}
.innerPage hr { width: auto; margin-top: 40px; }
.innerPage .btn-primary { color: #fff; background-color: #a82300; margin-top: 10px; border: none; border-radius: 0; transition: background 0.2s ease, color 0.2s ease; }
h1, h2 { color: #006a92; }
.innerPage .btn-primary:hover { background: #ffbe00; border: none; border-radius: 0; }
hr { margin-top: 30px; margin-bottom: 30px; border: 0; border-top: 1px solid #82afc1; width: auto; }
.grey { background: #f3f3f3; margin-top: 25px; margin-bottom: 20px; padding-bottom: 50px; }
h1 { font-size: 24px; font-family: Raleway, sans-serif; font-weight: 900; margin-top: 20px; letter-spacing: -0.3px; }
h2, h3 { font-weight: 700; }
h2 { font-size: 20px; }
h3 { color: #fff; font-size: 22px; }
.featureBox .red p,
.featureBox .white-box { transition: background 0.2s ease, border-color 0.2s ease; }
.boxHover,
.featureBox:hover > .red p,
.featureBox:hover > .white-box { background: #ffbe00; color: #000; border-bottom: solid 4px #cd9315; cursor: pointer; }
.Our-services { margin-bottom: 20px; margin-top: 20px; }
.welcome-text { min-height: 196px; }
.history { margin-top: 5px; }
.featureBox .panel { margin-bottom: 0; }
.featureBox .panel.panel-default > .panel-heading {
    color: #fff; background-color: #006a92;
    border-bottom: solid #10aae0 5px; text-align: center;
    font-weight: 700; border-radius: 0;
}
.featureBox .panel .panel-body {
    padding: 20px; background: #006a92; color: #fff;
    text-align: center; min-height: 210px; font-size: 17px;
}
a, a:hover { color: #006a92; }
.featureBox .panel .panel-heading.image1 {
    background-image: url('../images/ferrous-process.jpg');
    background-size: cover; background-position: center;
    min-height: 180px; display: flex; align-items: center; justify-content: center;
}
.featureBox .panel .panel-heading.image2 {
    background-image: url('../images/non-ferrous-process.jpg');
    background-size: cover; background-position: center;
    min-height: 180px; display: flex; align-items: center; justify-content: center;
}

@media (max-width: 1200px) {
    .history { margin-top: 53px !important; }
    .welcome-text { min-height: 243px !important; }
    hr { width: auto; }
}
@media (max-width: 1199px) { .welcome-text { min-height: 194px !important; } }
@media (max-width: 991px) { .white-box img { width: 100%; } hr { border: 0; border-top: 1px solid #82afc1; width: auto; } }

/* ── Nav ──────────────────────────────────────────────────── */
a { text-decoration: none !important; }
.contactusemail a { color: #000; }
.contactusemail a:hover { color: #a82300; }

/* ── Carousel ────────────────────────────────────────────── */
.carousel { position: relative; }
.carousel img { width: 100%; display: block; height: auto; }
.carousel-indicators { bottom: -35px; }
.carousel-indicators .active { width: 15px; height: 15px; margin: 0; background: #ffbe00; border: #a82300; }
.carousel-indicators li {
    display: inline-block; width: 15px; height: 15px; margin: 0;
    text-indent: -999px; cursor: pointer; background-color: #000\9;
    border: 1px solid #ffbe00; border-radius: 10px; background: #a82300;
}
.carousel-indicators li:hover { background: #ffbe00; border: #a82300; }
.carousel-control.left, .carousel-control.right { background: 0 0; margin: 10%; }
.carousel-control .fa-chevron-left, .carousel-control .fa-chevron-right {
    background: #a82300; height: 40px; width: 40px;
    border: 2px solid #ff4401; padding: 10px; border-radius: 30px;
    font-size: 15px; text-shadow: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.carousel-control .fa-chevron-left:hover, .carousel-control .fa-chevron-right:hover {
    background: #ffbe00; color: #000; border: solid #ffbe00;
    padding: 10px; border-radius: 30px; font-size: 15px; height: 40px; width: 40px;
}

/* ── Navbar ───────────────────────────────────────────────── */
.dropdown-toggle:before {
    content: "\25bc"; color: #ff4401; margin-right: 2px;
    position: absolute; margin-top: 15px; padding-left: 20px; font-size: 10px;
}
.navbar-nav, nav { margin: 0; }
nav { padding: 0; }
.navbar-nav > li > .dropdown-menu { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; background: #a82300; }
.navbar-nav > li > .dropdown-menu a:hover { background: #ffbe00 !important; }
.navbar-default .navbar-nav > .open > a { color: #fff !important; background-color: #a82300 !important; }
.navbar-toggle { border: 0; }
.navbar-toggle .icon-bar { background-color: #fff !important; }
.navbar-toggle:focus, .navbar-toggle:hover, .navbar-toggle:visited { background: #ff4401 !important; }
.navbar-header span { font-size: 20px !important; }

@media (min-width: 1062px) {
    .navbar-header > span { display: none; }
    .navbar-toggle { display: none !important; }
}
@media (max-width: 1061px) {
    .navbar > .container-fluid { padding: 0; }
    .navbar-header { float: none; margin-right: 0 !important; margin-left: 0 !important; }
    .navbar-left, .navbar-nav, .navbar-right { float: none !important; }
    .navbar-header > span { display: inline-block; color: #fff; font-size: 30px; margin-left: 10px !important; margin-top: 10px !important; }
    .navbar-toggle { margin-right: 15px !important; margin-bottom: 8px !important; margin-top: 8px !important; display: inline-block !important; }
    .navbar-collapse { padding: 0; border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
    .navbar-fixed-top { top: 0; border-width: 0 0 1px; }
    .navbar-collapse.collapse { display: none !important; }
    .navbar-nav { margin-top: 7.5px; }
    .navbar-nav > li { float: none; width: 100%; }
    .navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; }
    .collapse.in { display: block !important; }
    .dropdown-menu { position: relative; float: none; border-bottom: solid 1px #fff; border-top: solid 1px #fff; box-shadow: 0 0 0 rgba(0,0,0,.175); }
}
.navbar-nav > li { display: inline-block !important; float: none !important; }
.navbar-default { background: #a82300; border-radius: 0; border-color: transparent; }
.navbar-default .navbar-collapse,
.navbar-default .navbar-header { border-color: transparent !important; box-shadow: none !important; }
.navbar { margin-bottom: 0 !important; }
#navAnchor { display: none; }
.navbar-default .navbar-nav { display: block; float: none; vertical-align: top; width: 100%; font-size: 0; line-height: 0; }
.navbar-default .navbar-nav li { margin-right: 0; margin-left: 0; min-width: 123px; font-size: 14px; line-height: 1.42857; }
.navbar-default .navbar-nav li a { color: #fff; text-align: center; transition: background 0.15s ease, color 0.15s ease; }
.navbar-default .navbar-nav li a:focus, .navbar-default .navbar-nav li a:hover {
    color: #000 !important; background: #ffbe00 !important; box-shadow: #cd9315 0 5px 0 0;
}
.navbar-default .navbar-nav .active > a,
.navbar-default .navbar-nav .active > a:hover,
.navbar-default .navbar-nav .active > a:focus { background: #ff4401 !important; color: #fff !important; box-shadow: 0 5px 0 0 #a82300; }
.navbar { margin-bottom: 0; }
@media (min-width: 768px) { .navbar .navbar-collapse { text-align: center; margin: 0 !important; } }
.preload { left: -999999; position: absolute; }
.navbar, html { position: relative; }
.navbar { min-height: 0; border: 0 solid transparent; border-bottom: solid 5px #ff4401; }
.navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #fff; }

/* ── Feature boxes ────────────────────────────────────────── */
.featureBox:hover > .white-box { border-bottom: 0; }
.featureBox:hover > .red:hover a { color: #000; }
.featureBox .white-box { background: #fff; padding: 5px; }
.featureBox .red p {
    color: #fff; font-size: 17px; background: #a82300;
    height: 55px; border-bottom: solid 4px #ff4401;
    margin-top: 10px; padding: 15px; text-align: center; font-weight: 600;
}
.featureBox .red a { color: #fff; }

/* ── Sticky footer ───────────────────────────────────────── */
html { height: 100%; scroll-behavior: smooth; }

/* ── Timeline / History ───────────────────────────────────── */
.timelineBG img { height: auto; position: fixed; opacity: .6; }
.timelineBG .page-title { display: none; }
.page-template-history { background: #116c8f; }
.timeline { position: relative; }
.timeline:before {
    top: 0; bottom: 0; position: absolute; content: " ";
    width: 7px; background-color: #fff; margin-left: auto; margin-right: auto; left: 0; right: 0;
}
.timeline .ball { margin: 0 auto; display: flex; align-items: center; justify-content: center; font-family: roboto; border-radius: 200px; }
.timeline .ball span { display: block; width: 100%; text-align: center; }
.timeline .year {
    width: 180px; height: 180px; background: #006a92; color: #10aae0;
    text-align: center; display: flex; align-items: center;
    -ms-flex-pack: center; justify-content: center; border: 4px solid #fff;
    -webkit-box-shadow: 6px 6px 5px -2px rgba(0,0,0,.38);
    -moz-box-shadow: 6px 6px 5px -2px rgba(0,0,0,.38);
    box-shadow: 6px 6px 5px -2px rgba(0,0,0,.38);
    margin-left: auto !important; margin-right: auto; left: 0; right: 0;
}
.timeline .year span { font-size: 57.73px; margin-left: -1px; font-weight: 600; }
.timeline .year.first { margin-bottom: 48px; }
.timeline .yearSmall {
    background: #fff; color: #10aae0; width: 90px; height: 90px; border: 4px solid;
    -webkit-box-shadow: 6px 6px 5px -2px rgba(0,0,0,.38);
    -moz-box-shadow: 6px 6px 5px -2px rgba(0,0,0,.38);
    box-shadow: 6px 6px 5px -2px rgba(0,0,0,.38);
}
.timeline .yearSmall span { font-size: 22px; font-weight: 600; }
.timeline .whiteBox {
    background: rgba(197,220,228,.74); padding: 20px; color: orange;
    line-height: 1; margin: 0 auto; display: table; font-family: Roboto;
    align-items: center; flex-direction: row; position: relative;
}
.timeline .whiteBox.noflex { display: block; }
.timeline .whiteBox hr { width: 100%; }
.timeline .whiteBox .text { width: 73%; float: right; }
.timeline .whiteBox .text.right { margin-left: auto; padding-left: 15px; }
@media (max-width: 600px) { .timeline .whiteBox .text { width: 100%; } .timeline .whiteBox .text.right { padding: 0; } }
.timeline .whiteBox .text.left { margin-right: auto; padding-right: 15px; }
@media (max-width: 600px) { .timeline .whiteBox .text.left { padding: 0; } }
.timeline .whiteBox .text.full { width: 100%; padding: 20px 0 !important; }
.timeline .whiteBox .text span { font-size: 14px; color: #000; font-weight: 500; font-family: Roboto; line-height: 21px; }
.timeline .whiteBox .image { max-width: 100%; height: auto; }
@media (max-width: 600px) { .timeline .whiteBox .text.mobFull { padding: 20px 0; } .timeline .whiteBox .image { display: none; } }
.timeline .smallYearRow { margin-bottom: 60px; margin-left: 60px; margin-right: 60px; }
.separatorArrow.first { margin-bottom: 47px; }
.separatorArrow.second { margin-bottom: 60px; }
.separatorArrow.third { margin-bottom: 12px; }
@media (min-width: 2400px) { .separatorArrow.third { margin-bottom: 30px; } }
.separatorArrow .arrowDown { text-align: center; }
.separatorArrow .arrowDown i { background: #fff; border-radius: 30px; font-size: 18px; color: #ff0; padding: 3px; box-shadow: 0 4px 0 -3px rgba(0,0,0,.75); display: none; }
.timelineIntro h1, .timelineIntro p, .triangle-isosceles { color: #000; text-align: center; }
.timelineIntro h1 { font-size: 25px; font-weight: 600; margin-bottom: 10px; margin-top: 0; }
.timelineIntro p { font-weight: 600; font-family: Raleway, sans-serif !important; }
.triangle-isosceles.left:before, .triangle-isosceles.right:before, .triangleBefore {
    content: ""; position: absolute; display: block; width: 0;
    border-style: solid; border-color: transparent rgba(197,220,228,.74); z-index: 999999;
}
@media (max-width: 1200px) {
    .year { margin: 0 auto 30px !important; }
    .triangle-isosceles.left:before, .triangle-isosceles.right:before {
        position: absolute !important; margin-left: auto !important; margin-right: auto !important;
        left: 0 !important; right: 0 !important; border-color: #c5dce4 transparent !important;
    }
    .triangle-isosceles { background: #c5dce4 !important; }
    .triangle-isosceles.left { margin-top: 30px !important; }
    .triangle-isosceles.left:before { top: -19px !important; border-width: 0 18px 19px !important; }
    .triangle-isosceles.right { margin-bottom: 30px !important; }
    .triangle-isosceles.right:before { bottom: -19px !important; top: auto !important; border-width: 19px 19px 0 !important; }
}
.triangle-isosceles.left, .triangle-isosceles.right { background: rgba(197,220,228,.74); }
.triangle-isosceles { margin-top: 25px !important; position: relative; padding: 15px; display: inline-block; min-width: 100px; }
.triangle-isosceles.left:before { top: 13px; left: -38px; border-width: 0 38px 29px 0; }
.triangle-isosceles.right:before { right: -38px; top: 10px; border-width: 0 0 29px 38px; }

/* ── Blog ────────────────────────────────────────────────── */
.table > thead > tr > th { vertical-align: bottom; border-bottom: 0 solid #ddd; }
.blog-content { padding: 10px; }
.blog-content img { margin-top: 20px; }
.single-blog-item { margin-top: 35px; border: 1px solid #006a92; border-radius: 4px; overflow: hidden; }
.single-blog-item .blog-title { background: #006a92; color: #fff; width: 100%; display: block; }
.more-btn, .more-btn:hover { background: #a82300; color: #fff; }
.single-blog-item .blog-date, .single-blog-item .blog-date-left {
    background: #a82300; border-top-right-radius: 20px; color: #fff;
    text-align: center; margin: 0; padding: 10px; width: 25%;
}
.single-blog-item .blog-date-left { right: 15px; bottom: -1px; border-top-right-radius: 0; border-top-left-radius: 20px; }
.single-blog-item p { margin-top: 20px; }
.single-blog-item h3 { margin-top: 0; margin-bottom: 0; padding: 15px; font-size: 18px; }
.sidebar { padding-left: 0 !important; padding-right: 0 !important; }
.more-btn { padding: 10px 30px; width: auto; max-width: 180px; text-align: center; font-size: 16px; display: block; margin: 15px auto !important; transition: background 0.2s ease; }
.more-btn:active, .more-btn:focus, .more-btn:visited { color: #fff; }
.more-btn:hover { text-decoration: none; }
.more-button-full { width: 100%; }

@media only screen and (max-width: 767px) {
    .blog-date, .single-blog-item .blog-date-left { width: 100% !important; border-top-right-radius: 0 !important; }
    .blog-content img { margin: 0 auto; }
}

/* ── Contact form ─────────────────────────────────────────── */
.contact-form .form-control { margin-bottom: 10px; }
.contact-form .btn-primary { color: #fff; background-color: #a82300; border: none; border-radius: 0; padding: 8px 20px; }
.contact-form .btn-primary:hover { background: #ffbe00; color: #000; }
.wpcf7-form label { display: block; width: 100%; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea { width: 100%; margin-bottom: 10px; }
.wpcf7-submit { color: #fff; background-color: #a82300; border: none; border-radius: 0; padding: 8px 20px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.wpcf7-submit:hover { background: #ffbe00; color: #000; }

/* ── Google Map embed ─────────────────────────────────────── */
.map-embed { width: 100%; height: 400px; border: 0; margin-top: 20px; }

/* ── Full-width page banner ──────────────────────────────── */
.innerPage > .container-fluid:first-child { padding: 0; margin: 0; }
.innerPage > .container-fluid:first-child .row { margin: 0; }
.innerPage > .container-fluid:first-child img {
    display: block; width: 100%; height: auto;
}

/* ── Certificate cards ───────────────────────────────────── */
.cert-section { margin-top: 40px; }
.cert-cards { margin-top: 20px; }
.cert-card { border: 1px solid #ddd; border-radius: 4px; overflow: hidden; margin-bottom: 25px; }
.cert-card-header { padding: 25px 20px; text-align: center; color: #fff; }
.cert-header-dark   { background: #1a2a3a; }
.cert-header-red    { background: #a82300; }
.cert-header-darker { background: #1a1a1a; }
.cert-badge { font-size: 38px; font-weight: 900; font-family: Raleway, sans-serif; letter-spacing: -1px; line-height: 1; }
.cert-validity { font-size: 12px; opacity: 0.8; margin-top: 8px; }
.cert-card-body { padding: 20px; background: #f9f9f9; }
.cert-card-body .cert-title { color: #006a92 !important; font-size: 16px; font-weight: 700; margin-top: 0; margin-bottom: 10px; }
.cert-desc { font-size: 14px; color: #444; line-height: 1.65; margin-bottom: 0; }
.cert-download { margin-top: 15px; }
.cert-download .btn { background: #a82300; color: #fff; border: none; border-radius: 0; font-size: 13px; transition: background 0.2s ease, color 0.2s ease; }
.cert-download .btn:hover { background: #ffbe00; color: #000; }

/* ── Accreditations banner crop ──────────────────────────── */
.page-template-template-accreditations .innerPage > .container-fluid:first-child { overflow: hidden; }
.page-template-template-accreditations .innerPage > .container-fluid:first-child img { margin-top: -6px; }

/* ── Misc ────────────────────────────────────────────────── */
.page-title { font-family: Raleway, sans-serif; font-weight: 900; color: #006a92; letter-spacing: -0.3px; }
.history-timeline { background: #116c8f; min-height: 100vh; padding-bottom: 40px; }
