/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
   .stylish-loader {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .loader-ring {
        position: relative;
        width: 80px;
        height: 80px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #28a745;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .loader-inner {
        width: 50px;
        height: 50px;
        border: 3px solid transparent;
        border-top: 3px solid #28a745;
        border-radius: 50%;
        animation: spin 0.8s linear infinite reverse;
    }
    
    .loader-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .company-name {
        font-size: 24px;
        font-weight: bold;
        color: #348E38;
        letter-spacing: 2px;
    }
    
    .loading-text {
        font-size: 14px;
        color: #666;
        animation: pulse 1.5s ease-in-out infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 0.6; }
        50% { opacity: 1; }
    }
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 10s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {right: -100%;}
    to {right: 100%;}
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.logo-img {
    max-width: 83px;
    height: auto;
}


/* Mobile screens */
@media (max-width: 576px) {
    .logo-img {
        max-width: 75px; /* adjust as needed */
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    background: rgba(15, 66, 41, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}
#header-carousel .carousel-item {
    height: 100vh; /* Full screen height */
    min-height: 600px;
}

#header-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;          /* Make caption full height */
    display: flex;
    align-items: center;   /* Vertically center text */
    justify-content: center;
    background: rgba(0, 0, 0, .6);
    text-align: center;
    z-index: 1;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/irontech-home-slider-01.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(0, 0, 0, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}


/* ss material data */

       .steel-composition-section {
    max-width: 1100px;
    /* margin: 20px auto; */
    /* padding: 25px; */
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 10px;
    /* margin-top: 90px; */
}


.steel-intro {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.new-font-style {
  color:  #020024;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 20px;
}

.steel-list {
  list-style: none;
  padding-left: 0;
}

.steel-list li {
  font-size: 15px;
  margin-bottom: 8px;
  color: #333;
  display: flex;
  align-items: center;
}

.steel-list li i {
  color: #085684;
  margin-right: 8px;
  font-size: 14px;
}


.table-data ideal, .steel-code-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table-data ideal th, .table-data ideal td,
.steel-code-table th, .steel-code-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.table-data ideal th, .steel-code-table th {
    background: #3949ab;
    color: white;
}

.steel-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.steel-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.steel-text {
    margin-bottom: 15px;
}

/* top scroll */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-circle i {
    font-size: 28px;
}

.scroll-indicator {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    /* transform: rotate(180deg); */
    font-weight: 600;
    letter-spacing: 1px;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 4px;
}
/* end top scroll */

        /* .border-bottom {
    border-bottom: 1px solid  #2fd1ff !important;
} */
.border-bottom {
    border-bottom: 0px solid #dee2e6 !important;
}
/* ---------- FLANGE WRAPPER ---------- */
.ss-flange-wrapper {
    background: #ffffff;
    /* padding: 60px 15px; */
}

.ss-flange-box {
    max-width: 1100px;
    margin: auto;
    background: #f3faf9;
    border: 2px solid #7cc6c2;
    padding: 40px 40px 40px 120px;
    position: relative;
    border-radius: 16px;
}

/* ----- LEFT ROUND IMAGE ----- */
.ss-flange-image {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: #fff;
}

.ss-flange-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- FLANGE CONTENT ----- */
.ss-flange-content h2 {
    font-size: 26px;
    font-weight: 700;
    color:#020024;
    margin-bottom: 20px;
}

.ss-flange-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #222;
    margin-bottom: 10px;
}

.ss-flange-content p strong {
    color: #000;
}

.ss-flange-content .highlight {
    color: #007b8f;
    font-weight: 700;
}

/* ---------- PRODUCT HIGHLIGHT BOX ---------- */
.product-highlight {
    margin-top: 30px;
    padding: 22px;
    background: #ffffff;
    border-left: 5px solid #007b8f;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-radius: 12px;
}

.product-highlight h4 {
    font-size: 20px;
    font-weight: 700;
    color: #007b8f;
    margin-bottom: 15px;
}

.product-highlight ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.product-highlight ul li {
    font-size: 15px;
    color: #222;
    padding-left: 20px;
    position: relative;
}

.product-highlight ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #007b8f;
    font-weight: bold;
}

/* ---------- RESPONSIVE FIXES ---------- */
@media (max-width: 992px) {
  .ss-flange-box {
      padding: 40px 30px 30px 30px;
  }

  .ss-flange-image {
      left: 50%;
      top: -60px;
      transform: translateX(-50%);
      width: 140px;
      height: 140px;
  }
}

@media (max-width: 768px) {
  .ss-flange-box {
      padding: 100px 25px 30px;
      text-align: center;
  }
  .ss-flange-content h2 {
      font-size: 22px;
  }
  .product-highlight ul {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ss-flange-image {
      width: 120px;
      height: 120px;
  }
  .ss-flange-content p {
      font-size: 14px;
  }
}
/* End Fange Box */

/* Start table data  */
.table-data {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.table-data th {
  background-color: #f5f5f5;
  color: black;
  text-align: left;
  padding: 12px 15px;
  font-weight: bold;
  border: 1px solid #ddd;
}

.table-data td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 14px;
  color: #000;
}

.unique {
  background-color: #f2f2f2;
  font-weight: bold;
}

.unique-2 {
  /* font-style: italic; */
}

.table-data tr:hover {
  background-color: #f1f1f1;
}

.product-description {
  background: linear-gradient(rgba(12, 24, 68, 0.7), rgba(12, 24, 68, 0.7)),
    url(../img/fastners-back.jpg);
  color: white;
}

/* Add responsiveness to the table */
@media screen and (max-width: 768px) {
  .ideal {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  table {
    width: 100%;
    border: 0;
  }
  th,
  td {
    text-align: center;
    padding: 10px;
  }
  th {
    background-color: #f9f9f9;
  }
}

/* Small mobile screens (portrait view) */
@media screen and (max-width: 480px) {
  th,
  td {
    padding: 6px;
    font-size: 12px;
  }
}

/* End Table date  */
/* end table data  */

/* SS Flanges Application & Uses  */
.wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

/* Left (Application & Uses) */
.mcb-wrap-0ub6j3kh3 {
  flex: 0 0 60%;
  max-width: 60%;
  padding: 15px;
}

/* Right (Contact Us) */
.mcb-wrap-qv6hjy8l2 {
  flex: 0 0 35%;
  max-width: 35%;
  padding: 15px;
  margin-left: auto; /* Push it to the right */
}

/* Headings */
.column_attr h2 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
  border-bottom: 2px solid #085684;
  padding-bottom: 8px;
}

/* UL List Styling */
.column_attr ul {
  list-style: none;
  padding-left: 0;
}

.column_attr ul li {
  padding: 8px 0;
  font-size: 16px;
  color: #444;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 20px;
}

.column_attr ul li:before {
  content: "âœ”";
  color: #085684;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 14px;
}

/* Contact Buttons */
.column_button a {
  display: block;
  text-align: center;
  background: #085684 !important;
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.column_button a:hover {
  background: #06406b !important;
}

/* Icons inside buttons */
.column_button i {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
  .mcb-wrap-0ub6j3kh3,
  .mcb-wrap-qv6hjy8l2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* End Ss Flanges Application & Uses */

/* Custom column  */
.columns-container {
  display: flex;
  gap: 20px; /* space between columns */
  flex-wrap: wrap; /* responsive wrap */
}

.column {
  flex: 1; /* equal width */
  min-width: 250px; /* minimum width for responsiveness */
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.custom-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  font-size: 16px;
}

.custom-list li::before {
  content: "âž¤"; /* arrow bullet */
  position: absolute;
  left: 0;
  color: #ffac00;
  font-weight: bold;
}

.custom-list li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.custom-list li a:hover {
  color: #007bff;
}
/* End Custom Column  */

.header-4 {
  margin-top: 25px;
  font-size: 1.5rem;
}
.adjust {
  line-height: 27px;
  letter-spacing: 1px;
}

.red-border {
  border: 4px solid #4e4c43;
  border-radius: 40px;
  padding: 4px;
  box-shadow: 0 6px 15px rgba(6, 163, 218, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.red-border:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(6, 163, 218, 0.3);
}

.image-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.image-item {
  text-align: center;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.image-item img {
  width: 100%;
  height: 160px; /* small fixed height */
  object-fit: contain; /* show full image (no cutting) */
  display: block;
  background: white; /* light background behind image */
  transition: transform 0.3s ease;
}

.image-item:hover img {
  transform: scale(1.05);
}

.image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-item:hover .image-wrapper::after {
  opacity: 1;
}

.image-item h3 {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.chemical-1{
    width: 100%;
    height: auto;
    margin-top: 30px;
    /* padding: 50px; */
}
    .top-link a {
    /* background-color: red !important; */
}
.top-link i {
    color: #0F4229 !important;
}