/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/components/Bottom_to_top/BToT.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.scroll-to-top-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 150%;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.scroll-to-top-button:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.scroll-to-top-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.scroll-to-top-button svg {
  display: block;
  width: 24px;
  height: 24px;
}

@media screen and (max-width: 768px) {
  .scroll-to-top-button {
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
  }
  
  .scroll-to-top-button svg {
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 480px) {
  .scroll-to-top-button {
    bottom: 10px;
    right: 10px;
    padding: 6px 12px;
  }
  
  .scroll-to-top-button svg {
    width: 18px;
    height: 18px;
  }
} 
/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/components/Navbar/Navbar.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
/* General Navbar Styling */
:root {
  --primary-color: #a5c847;
  --text-dark: #333;
  --transition-speed: 0.4s;
}

.navbar-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  width: 100%;
  height: 100px;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: height 0.3s ease;
}

.navbar-row.scrolled {
  height: 80px;
}

.navbar-logo {
  margin-left: 1.2rem;
  margin-right: 2rem;
  display: flex;
  align-items: center;
}

.navbar-logo .logo {
  height: 90px;
  width: auto;
  max-width: 180px;
  max-height: 90px;
  transition: height 0.3s, max-width 0.3s, max-height 0.3s;
}

.navbar-row.scrolled .navbar-logo .logo {
  height: 50px;
  max-width: 80px;
  max-height: 60px;
}

@media screen and (max-width: 992px) {
  .navbar-logo .logo {
    height: 40px;
    max-width: 80px;
    max-height: 40px;
  }
}

/* Desktop Styles */
.desktop-links {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
  width: auto;
  margin-left: auto;
}

.navbar-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  margin-left: 0;
}

.navbar-menu li a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 5px;
}

.navbar-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: var(--primary-color);
}

.navbar-menu li a:hover::after,
.navbar-menu li a.active::after {
  width: 100%;
}

.contact-btn, .contact-btn.active {
  text-decoration: none !important;
}
.contact-btn::after {
  display: none !important;
}

/* Mobile & Hamburger Styles */
.mobile-sidebar {
  display: none;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .navbar-row {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 0;
  }
  .navbar-logo {
    margin-left: 1.2rem;
    margin-right: 2rem;
  }
  .desktop-links, .desktop-contact {
    display: none;
  }
  .menu-toggle {
    display: block !important;
    margin-left: auto;
    margin-right: 1.2rem;
    order: 2;
    z-index: 1102;
  }
  .navbar-row {
    display: flex;
    align-items: center;
    flex-direction: row;
  }
  .mobile-sidebar {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 100%;
    width: 300px;
    background: #fff;
    box-shadow: 2px 0 15px rgba(0,0,0,0.15);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 2.2rem 1.2rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .mobile-sidebar.open {
    transform: translateX(0);
  }
  .close-icon {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    left: auto;
    font-size: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
    margin-bottom: 1.2rem;
  }
  .mobile-menu {
    list-style: none;
    padding: 0;
    margin-top: 2.2rem;
    width: 100%;
  }
  .mobile-menu li {
    margin-bottom: 1.1rem;
    width: 100%;
  }
  .mobile-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s, padding 0.2s;
    display: block;
    padding: 0.2rem 0 0.2rem 1.2rem;
    border-radius: 6px;
    margin-left: 0.2rem;
    letter-spacing: 0.5px;
  }
  .mobile-menu li a.active {
    color: var(--primary-color);
    background: rgba(165,200,71,0.08);
    font-weight: 700;
  }
  .mobile-menu li a:hover {
    color: var(--primary-color);
    background: rgba(165,200,71,0.13);
    padding-left: 1.6rem;
  }
  .contact-btn-mobile {
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    display: block;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    width: 95%;
    margin-left: 2.5%;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(165,200,71,0.10);
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s;
  }
  .contact-btn-mobile:hover {
    background: #8db035;
    box-shadow: 0 8px 24px rgba(165,200,71,0.18);
  }
  .overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .mobile-sidebar.open ~ .overlay {
    opacity: 1;
    visibility: visible;
  }
}

#contact-me {
  margin-right: 1.2rem;
}

#contact-me a {
  padding: 0.7rem 1.1rem;
  font-size: 1.1rem;
  background-color: var(--primary-color);
  color: #fff !important;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
  border: none;
  text-decoration: none !important;
  position: relative;
  font-weight: 700;
  letter-spacing: 1px;
}
#contact-me a::after {
  display: none !important;
}

.menu-toggle {
  display: none;
}
.menu-toggle .hamburger {
  width: 32px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.menu-toggle .hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 2px;
  margin: 3px 0;
  transition: all 0.3s;
}
.menu-toggle .hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle .hamburger.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle .hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/components/Products/edge-h-series/EdgeHSeries.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
.edge_series, .edge_h_series {
    margin-top: 120px;
    overflow-x: hidden;
}

/* Hero Section */
.cnc_hero_section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 60vh;
}

#cnc_logo_img {
    max-width: 50%;
    height: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.cnc_hero_image_wrapper {
    flex: 0 0 65%;
    padding-right: 2rem;
}

.cnc_text_section {
    flex: 0 0 35%;
    background-color: #A5C847;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cnc_description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#CNC_label_text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin: 0;
}

#CNC_sub_label_text {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.media_buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#md_btn {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 8px;
}

#md_btn:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Features Section */
.features_section {
    padding: 4rem 5%;
    background: #fff;
}

.features_container {
    max-width: 1200px;
    margin: 0 auto;
}

.features_container h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

.features_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 2rem;
    gap: 2rem;
}

.feature_item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature_item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.feature_item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .cnc_hero_section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    #cnc_logo_img {
        max-width: 80%;
    }

    .cnc_text_section {
        max-width: 100%;
    }

    #CNC_label_text {
        font-size: 2rem;
    }

    .features_grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .edge_h_series {
        margin-top: 8%;
    }

    .cnc_hero_section {
        padding: 2rem 3%;
        min-height: 50vh;
    }

    #CNC_label_text {
        font-size: 1.8rem;
    }

    #CNC_sub_label_text {
        font-size: 1rem;
    }

    .media_buttons {
        justify-content: center;
    }

    .features_section {
        padding: 2rem 3%;
    }

    .features_container h2 {
        font-size: 2rem;
    }

    .features_grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .cnc_hero_section {
        padding: 1.5rem 2%;
    }

    #CNC_label_text {
        font-size: 1.5rem;
    }

    #CNC_sub_label_text {
        font-size: 0.9rem;
    }

    #md_btn {
        width: 40px;
        height: 40px;
    }

    .features_section {
        padding: 1.5rem 2%;
    }

    .features_container h2 {
        font-size: 1.8rem;
    }

    .feature_item {
        padding: 1.5rem;
    }
}

.Datapart_main_part {
    flex: 0 0 35%;
}

.img_and_data_imgwrap {
    flex: 0 0 65%;
    display: flex;
    align-items: center;
} 
/*!************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/components/Products/edge-series/EdgeSeries.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************/
.edge_series {
  margin-top: 120px;
}

/* Hero Section - Main Container */
.cnc_hero_section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(163, 198, 74, 0.10), 0 2px 8px rgba(0,0,0,0.08);
  gap: 2.5rem;
}

.cnc_hero_image_wrapper {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0;
}

#cnc_logo_img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  /* box-shadow: 0 4px 24px rgba(0,0,0,0.08); */
  /* border-radius: 12px; */
  background: #f9f9f9;
  display: block;
  margin: 0 auto;
}

#cnc_logo_img:hover {
  transform: scale(1.03);
}

/* Green Box on Right */
.cnc_text_section {
  flex: 0 0 50%;
  background-color: #A5C847;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  box-shadow: 0 4px 24px rgba(163, 198, 74, 0.10);
}

/* Dark Grey Box for Title */
.cnc_description {
  background-color: #4D4F48;
  color: white;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#CNC_label_text {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

#CNC_sub_label_text {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Buttons Section */
.edge-hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 0 0.5rem;
}

.edge-hero-btn {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: all 0.3s cubic-bezier(.4,2,.6,1);
  text-decoration: none;
}

.edge-hero-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px) scale(1.03);
  color: #000;
}

.edge-hero-btn-icon {
  filter: brightness(0) invert(1);
}

/* General Specifications Section */
.img_and_data {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding: 3rem 3rem 3rem 3.5rem;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(163, 198, 74, 0.18), 0 2px 8px rgba(0,0,0,0.10);
  margin-bottom: 3rem;
}

/* When data is on the left */
.img_and_data.data_left .Datapart_main_part {
  flex: 0 0 60%;
}

.img_and_data.data_left .img_and_data_imgwrap {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* When image is on the left */
.img_and_data.image_left .Datapart_main_part {
  flex: 0 0 60%;
}

.img_and_data.image_left .img_and_data_imgwrap {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Datapart_main_part {
  flex: 0 0 60%;
}

.img_and_data_imgwrap {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img_and_data_imgwrap img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

#datapart_data {
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

.General_specification {
  margin-top: 1.5rem;
}

#general_label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #A5C847;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

#general_label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #A5C847;
}

.Genereic_details ul {
  list-style: none;
  padding-left: 0;
}

.Genereic_details li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #444;
  transition: all 0.3s ease;
}

.Genereic_details li:hover {
  color: #A5C847;
  transform: translateX(5px);
}

.Genereic_details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #A5C847;
  font-weight: 900;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .cnc_hero_section {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  .cnc_hero_image_wrapper, .cnc_text_section {
    flex: 1 1 100%;
    width: 100%;
    max-width: 700px;
    padding: 0;
  }
  .cnc_text_section {
    padding: 2rem 1.2rem;
  }
  #cnc_logo_img {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .cnc_hero_section {
    padding: 1.2rem 0.5rem;
    gap: 1.2rem;
  }
  .cnc_text_section {
    padding: 1.2rem 0.7rem;
    border-radius: 10px;
  }
  .cnc_description {
    padding: 1.2rem 0.7rem;
    border-radius: 8px;
  }
  #CNC_label_text {
    font-size: 1.2rem;
  }
  #CNC_sub_label_text {
    font-size: 0.95rem;
  }
  #cnc_logo_img {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .cnc_hero_section {
    flex-direction: column-reverse !important;
    padding: 0.5rem 0.2rem;
    gap: 0.5rem;
  }
  .mobile-image-below {
    margin-top: 1rem;
  }
  .cnc_text_section {
    padding: 0.7rem 0.3rem;
    border-radius: 8px;
  }
  .cnc_description {
    padding: 0.7rem 0.3rem;
    border-radius: 6px;
  }
  #CNC_label_text {
    font-size: 1rem;
  }
  #CNC_sub_label_text {
    font-size: 0.85rem;
  }
  #cnc_logo_img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1rem auto;
    display: block;
    position: static;
    box-sizing: border-box;
    object-fit: contain;
  }
  .img_and_data {
    flex-direction: column-reverse !important;
    gap: 1.2rem;
    padding: 1rem 0.5rem;
  }
  .img_and_data_imgwrap {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
  .img_and_data_imgwrap img,
  .img_and_data_imgwrap .next-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
  }
  .Datapart_main_part {
    width: 100%;
  }
}

/* Fourth Part (matching original) */
.fourth_part {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 2rem auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: slideUp 0.8s ease-out;
}

.image_part {
  display: flex;
  flex-direction: column;
  width: 40%;
  padding: 1.5rem;
  align-items: center;
}

.image_part img {
  width: 50%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.image_part img:hover {
  transform: scale(1.03);
}

.image_data_part {
  width: 60%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image_data_part p {
  color: var(--primary-color, #A5C847);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: left;
  position: relative;
  padding-bottom: 0.5rem;
}

.image_data_part p::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color, #4D4F48);
}

.image_data_part img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1024px) {
  .fourth_part {
    flex-direction: column;
    max-width: 98vw;
  }
  .image_part, .image_data_part {
    width: 100%;
    padding: 1rem;
  }
  .image_part img {
    width: 80%;
    max-width: 300px;
  }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Legend Section (matching original) */
.fifth_part {
  max-width: 1200px;
  margin: 2rem auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.legend {
  display: flex;
  flex-direction: row;
  padding: 2rem;
  align-items: center;
}

.legend_data {
  width: 60%;
  padding-right: 2rem;
}

.legend_data p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.legend img {
  width: 35%;
  height: auto;
  transition: all 0.3s ease;
}

.legend img:hover {
  transform: scale(1.05);
}

.legend_image {
  padding: 0 2rem 2rem;
  text-align: center;
}

.legend_image img {
  width: 60%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

@media screen and (max-width: 1024px) {
  .legend {
    flex-direction: column;
    padding: 1rem;
  }
  .legend_data, .legend img {
    width: 100%;
    padding: 0;
  }
  .legend_image img {
    width: 90%;
    max-width: 100%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#calc_img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 2rem auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 0;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/components/Products/cnc-controller/CNC_Controller.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Parmar CNC - CNC Controller Component Styles
 * Version: 1.0
 */

/* ==========================================================================
   1. Component Variables
   ========================================================================== */
:root {
    --primary-color: #a5c847;
    --secondary-color: var(--secondary-color);
    --accent-color: #e74c3c;
    --text-color: #ecf0f1;
    --highlight-color: var(--color);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    --controller-bg: #f5f5f5;
    --controller-text: #333333;
    --controller-border: #dddddd;
    --controller-shadow: rgba(0, 0, 0, 0.1);
    --controller-hover: rgba(163, 198, 74, 0.1);
}

/* ==========================================================================
   2. Controller Layout & Structure
   ========================================================================== */
.controller_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ==========================================================================
   3. Controller Headers & Labels
   ========================================================================== */
#delem_label,
#standard_label,
#edge_label,
#crowningheavy_label,
#hydraulic_c,
#std_label,
#accessories_label {
    background: #a3c64a !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-radius: 7px;
    margin: 2rem 0 1.5rem 0;
    box-shadow: 0 4px 18px rgba(163,198,74,0.10);
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
    display: block;
}

/* ==========================================================================
   4. Standard Components Color Overrides (Only for Standard Components)
   ========================================================================== */
.standard_main_components #standard_label {
    background: #a3c64a !important;
    color: white !important;
}

.standard_main_components .tool_holder_part #de_text,
.standard_main_components .wila_tool_holder #de_text {
    color: #a3c64a !important;
    background: transparent !important;
}

.standard_main_components .img_container p {
    color: #333 !important;
}

.standard_main_components .im-1 p {
    color: #333 !important;
}

/* ==========================================================================
   5. Delem, Step, and Cybelec Hover Effects
   ========================================================================== */
/* Remove background effects and keep only text color changes */
.delem_main_container .machine_two_pair,
.step_main_container .machine_two_pair,
.cybelic_main_part .machine_two_pair {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 2.5rem;
    padding: 2rem 1.5rem;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.7s cubic-bezier(0.4,0.2,0.2,1) forwards;
    animation-delay: 0.2s;
}

.delem_main_container .machine_two_pair:hover,
.step_main_container .machine_two_pair:hover,
.cybelic_main_part .machine_two_pair:hover {
    box-shadow: 0 8px 32px rgba(163,198,74,0.18), 0 2px 12px rgba(0,0,0,0.10);
    transform: translateY(-8px) scale(1.025);
    background: linear-gradient(120deg, #f8ffe8 0%, #e6f7d4 100%);
}

.delem_main_container #label_of_machine,
.step_main_container #label_of_machine,
.cybelic_main_part #label_of_machine {
    background: transparent !important;
    color: black !important;
    transition: all var(--transition-medium);
}

.delem_main_container .machine_two_pair:hover #label_of_machine,
.step_main_container .machine_two_pair:hover #label_of_machine,
.cybelic_main_part .machine_two_pair:hover #label_of_machine {
    background: transparent !important;
    color: var(--primary-color) !important;
}

/* Individual feature line hover effect for Delem, Step, Cybelec */
.delem_main_container .desc_of_machine ul,
.step_main_container .desc_of_machine ul,
.cybelic_main_part .desc_of_machine ul {
    list-style: none;
    padding-left: 0;
}

.delem_main_container .desc_of_machine ul li,
.step_main_container .desc_of_machine ul li,
.cybelic_main_part .desc_of_machine ul li {
    color: black !important;
    transition: all var(--transition-medium);
    margin-bottom: 0.8rem;
    padding-left: 0.2em;
}

.delem_main_container .desc_of_machine ul li:hover,
.step_main_container .desc_of_machine ul li:hover,
.cybelic_main_part .desc_of_machine ul li:hover {
    color: var(--primary-color) !important;
}

/* ==========================================================================
   5. Controller Sections
   ========================================================================== */
/* 5.1 Cybelic Section */
.cybelic_main_part {
    margin-top: 9.5%;
}

/* 5.2 Step Section */
.step_main_container {
    margin-top: 9.5%;
}

/* ==========================================================================
   6. Responsive Design
   ========================================================================== */
/* 6.1 Large Screens (1200px and up) */
@media screen and (min-width: 1200px) {
    .controller_container {
        padding: 3rem;
    }
}

/* 6.2 Laptop/Desktop (1024px - 1199px) */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .controller_container {
        padding: 2.5rem;
    }
}

/* 6.3 Tablets (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .controller_container {
        padding: 2rem;
    }

    #delem_label,
    #standard_label,
    #edge_label,
    #crowningheavy_label,
    #hydraulic_c,
    #std_label,
    #accessories_label {
        font-size: 1.3rem;
        margin: 0.8rem;
    }
}

/* 6.4 Mobile Devices (up to 767px) */
@media screen and (max-width: 767px) {
    .controller_container {
        padding: 1.5rem;
    }

    #delem_label,
    #standard_label,
    #edge_label,
    #crowningheavy_label,
    #hydraulic_c,
    #std_label,
    #accessories_label {
        font-size: 1.1rem;
        margin: 0.6rem;
        padding: 0.4rem;
    }

    .cybelic_main_part,
    .step_main_container {
        margin-top: 12%;
    }
}

/* 6.5 Small Mobile Devices (up to 480px) */
@media screen and (max-width: 480px) {
    .controller_container {
        padding: 1rem;
    }

    #delem_label,
    #standard_label,
    #edge_label,
    #crowningheavy_label,
    #hydraulic_c,
    #std_label,
    #accessories_label {
        font-size: 1rem;
        margin: 0.5rem;
        padding: 0.3rem;
        letter-spacing: 1px;
    }

    .cybelic_main_part,
    .step_main_container {
        margin-top: 15%;
    }
}

/* ==========================================================================
   7. Animations & Transitions
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Global Animation Classes */
.slide-in {
    animation: slideIn 0.8s ease-out forwards;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Controller Section */
.conroller_main_controller {
    margin: 1%;
    perspective: 1000px;
}

#cnc_label {
    background: var(--color);
    text-align: center;
    color: white;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

/* #cnc_label::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      to bottom right,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(30deg);
    transition: all var(--transition-slow);
  } */

/* #cnc_label:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--shadow-color);
  } */

/* #cnc_label:hover::before {
    transform: rotate(30deg) translate(20%, 20%);
  } */

.delem_Cybelic_part {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.delem_part, .cybelic_div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    width: 49%;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.delem_part::before, .cybelic_div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--highlight-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.delem_part:hover, .cybelic_div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.delem_part:hover::before, .cybelic_div:hover::before {
    transform: scaleX(1);
}

.delem_part img, .cybelic_div img {
    width: 40%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all var(--transition-medium);
}

.delem_part:hover img, .cybelic_div:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.delem_desc, .cybelic_desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

#machine_text_label {
    background: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    min-width: 200px;
    border-radius: 4px;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: all var(--transition-medium);
}

#machine_text_label:hover {
    transform: translateY(-2px);
}

#label_btn {
    background: #a5c847;
    border: none;
    font-size: 1rem;
    color: white;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

#label_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all var(--transition-slow);
}

#label_btn:hover {
    /* background: darken(var(--accent-color), 10%); */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#label_btn:hover::before {
    left: 100%;
}

/* Enhanced Delem/Cybelic/Step Components */
.delem_main_container{
    margin-top: 9.5%;
}
.cybelic_main_part, .step_main_container {
    margin-top: 9.5%;
}
.delem_main_div, .cybelic_main_part, .step_main_container {
    background: var(--secondary-color);
    margin: 1rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow-color);
}

.machine_mega_div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    padding: 2rem;
    gap: 2rem;
}

.machine_two_pair {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    width: 45%;
    min-height: 500px;
    /* background: rgba(255, 255, 255, 0.1); */
    border-radius: 8px;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.machine_two_pair:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    /* background: rgba(255, 255, 255, 0.15); */
}

#label_of_machine {
    background: var(--primary-color);
    width: 80%;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    font-size: 1.3rem;
    border-radius: 4px;
    transition: all var(--transition-medium);
}

/* #label_of_machine:hover {
    background: var(--highlight-color);
} */

#img_of_machine {
    width: 60%;
    max-width: 320px;
    min-width: 180px;
    height: auto;
    margin: 0 auto;
    display: block;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 10px;
    object-fit: contain;
    transition: box-shadow 0.3s;
}

.delem_main_container .machine_two_pair:hover #img_of_machine,
.step_main_container .machine_two_pair:hover #img_of_machine,
.cybelic_main_part .machine_two_pair:hover #img_of_machine {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transform: rotate(0deg) scale(1.10);
}

.desc_of_machine {
    width: 80%;
    text-align: left;
    margin-top: 1.5rem;
}

.desc_of_machine ul {
    padding-left: 1.5rem;
}

.desc_of_machine ul li {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    position: relative;
    transition: all var(--transition-fast);
}

.desc_of_machine ul li::before {
    /* content: '→'; */
    position: absolute;
    left: -1.5rem;
    color: var(--highlight-color);
    transition: all var(--transition-fast);
}

.desc_of_machine ul li:hover {
    color: var(--highlight-color);
    transform: translateX(5px);
}

.desc_of_machine ul li:hover::before {
    transform: translateX(-5px);
}

/* Enhanced Standard Components */
.standard_main_components {
    margin-top: 10%;
    margin-bottom: 2%;
}

.tool_holder_part,.wila_tool_holder {
    background: var(--secondary-color);
    margin: 1rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#de_text{
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    color: white;
    background: var(--primary-color);
    padding: 0.8rem;
    border-radius: 4px;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: all var(--transition-medium);
    width: 50%;
}

#de_text:hover, .tag_name p:hover {
    background: var(--highlight-color);
    transform: translateY(-3px);
}

.img_pa {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.img_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-medium);
}

.img_container:hover {
    transform: translateY(-5px);
}

.img_container img {
    width: 50%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all var(--transition-medium);
}

/* .img_container:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
} */

.img_container p {
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all var(--transition-medium);
}
.will_imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* or space-between/space-around as per your design */
    align-items: center;
    gap: 20px; /* adjust as needed */
    margin-top: 2rem;
}

/* For mobile devices - stack in column */
@media (max-width: 768px) { /* adjust breakpoint as needed */
    .will_imgs {
        flex-direction: column;
    }
    
    .will_imgs .im-1 {
        width: 100%; /* makes each child take full width */
        margin-bottom: 15px; /* space between stacked items */
    }
    
    #img_2_will_tool {
        margin-bottom: 0; /* remove bottom margin from last item if needed */
    }
}

/* For larger screens - display in row */
@media (min-width: 769px) {
    .will_imgs {
        flex-direction: row;
    }
    
    .will_imgs .im-1 {
        flex: 1 1; /* makes items share space equally */
        max-width: 50%; /* or adjust as needed */
    }
}
.im-1{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
}
.im-1:hover{
    transform: translateY(-5px);
}
/* Optional: Style for images and text */
.will_imgs .im-1 img {
    max-width: 70%;
    height: auto;
    display: block;
}

.will_imgs .im-1 p {
    text-align: center;
    margin-top: 10px;
    font-size: 14px; /* adjust as needed */
    color: white;
}

/* Enhanced Bending Tools */
.edge_tools_part {
    margin: 1rem;
    width: calc(100% - 2rem);
}

.parmar_part {
    background: var(--secondary-color);
    padding: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow-color);
}

.parmar_part img {
    width: 15%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all var(--transition-medium);
}

.parmar_part:hover img {
    transform: rotate(5deg) scale(1.05);
}

.text_part p {
    font-size: 1.2rem;
    text-align: justify;
    color: white;
    line-height: 1.6;
}

.punch_part, .die_part {
    background: white;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow-color);
}

#label_header {
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

#label_header::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--highlight-color);
}

.imgs, .die_img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.im, .die {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-medium);
}

.im:hover, .die:hover {
    transform: translateY(-10px);
}

.im img, .die img {
    width: 50%;
    height: 100px;
    /* height: auto; */
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all var(--transition-medium);
}

.im:hover img, .die:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.im p, .die p {
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    color: black;
}

/* Common Section Styles */
/* [id$="_label"],
[id$="_c"] {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 2rem 0;
  position: relative;
  padding-bottom: 1rem;
  animation: fadeInDown 1s ease;
} */

/* [id$="_label"]::after,
[id$="_c"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  border-radius: 2px;
} */

/* CNC Crowning & Heavy Tools Section */
.CNC_crowning_and_heavy_tools {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px 10px 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 16px;
    width: 97.5%;
}

.heavy_part {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease;
}

.heavy_desc {
    flex: 1 1;
    min-width: 300px;
    padding: 20px;
}

#front {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(76, 125, 60, 1);
    margin-bottom: 1rem;
    /* background-color: white; */
}

#frout_text {
    font-size: 1.1rem;
    color: white;
    line-height: 1.8;
}

.heavy_img {
    flex: 1 1;
    min-width: 300px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.heavy_img:hover {
    transform: translateY(-10px);
}

.heavy_img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#heavy {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1rem;
    color: rgba(76, 125, 60, 1);
}

/* H Series Styles */
.h_series, .h_series_1 {
    margin: 3rem 0;
    animation: fadeInUp 1s ease;
}

.heading_part {
    margin-bottom: 2rem;
}

#Edge_h {
    font-size: 2rem;
    color:rgba(76, 125, 60, 1);;
    font-weight: 700;
}

#edge_b {
    font-size: 1.5rem;
    color: rgba(114, 114, 113, 1);
    font-weight: 600;
}

.h_series_img_part {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 50px;
    gap: 50px;
    margin-top: 2rem;
    /* padding: 0% 3%; */
}

.h_img, .h_img_1 {
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
    transition: all 0.3s ease;
    width: 100%;
    /* border: 1px solid black; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h_img:hover, .h_img_1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.h_img img, .h_img_1 img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.h_img p, .h_img_1 p {
    /* padding: 15px; */
    text-align: center;
    font-weight: 500;
    color: white;
}
.h_series_img_part_1{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-gap: 50px;
    gap: 50px;
    margin-top: 2rem;
    /* padding: 0% 3%; */
}

/* Hydraulic Components */
.h_components {
    margin: 0 auto;
    padding: 0 20px 10px 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 16px;
    width: 97.5%;
}

.h_system {
    margin-bottom: 3rem;
    animation: fadeIn 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#h_s_tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    background-color: var(--color);
    width: 40%;
    margin-top: 1rem;
}

.h_images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.h_im_1 {
    flex: 1 1;
    min-width: 300px;
    background: var(--color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.h_im_1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.h_im_1 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.h_im_1 p {
    padding: 15px;
    text-align: center;
    font-weight: 500;
    color:white;;
}
/* beak line  */
.hydro_part {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    gap: 30px;
    margin-top: 3rem;
}

.hy_img_part {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease;
}

.hy_img_part:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.hy_1{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hy_img_p_1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#d_img_part {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding: 15px;
    color: white;
    background: var(--color);
    transform: translateY(-12%);
}

#jj {
    padding: 15px;
    text-align: center;
    color: white;
    font-size: 1rem;
}

/* Standard Components */
.std_main_div {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    gap: 30px;
    background-color: var(--secondary-color);
    width: 97.5%;
    border-radius: 8px;
    box-shadow: 0 4px 16px;
}

.item_div {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease;
}

.item_div:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.item_div img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.item_div p {
    padding: 15px;
    text-align: center;
    font-weight: 500;
    color: white;
    background-color: var(--color);
    transform: translateY(-15%);
}

/* Accessories */
.std_part_2 {
    gap: 30px;
    background-color: var(--secondary-color);
    width: 97.5%;
    border-radius: 8px;
    box-shadow: 0 4px 16px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.std_2 {
    display: flex;
    flex-wrap: wrap;
    
    gap: 100px;
    margin-bottom: 30px;
    align-items: center;
}

.img_std_2 {
    flex: 1 1;
    min-width: 300px;
    background: var(--color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease;
}

.img_std_2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.img_std_2 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tag_2 p {
    padding: 15px;
    text-align: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    [id$="_label"],
    [id$="_c"] {
        font-size: 2rem;
    }
    
    .heavy_part {
        flex-direction: column;
    }
    
    .h_series_img_part,
    .h_series_img_part_1 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .hydro_part {
        grid-template-columns: 1fr;
    }
    
    .std_main_div {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    [id$="_label"],
    [id$="_c"] {
        font-size: 1.8rem;
    }
    
    .h_series_img_part,
    .h_series_img_part_1 {
        grid-template-columns: 1fr;
    }
    
    .h_images {
        flex-direction: column;
    }
    
    .h_im_1 {
        min-width: 100%;
    }
}
  
/* Responsive Design */
@media (max-width: 1024px) {
    .machine_two_pair {
        width: 100%;
    }
    
    .im, .die {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .delem_Cybelic_part {
        flex-direction: column;
    }
    
    .delem_part, .cybelic_div {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .machine_mega_div {
        flex-direction: column;
    }
    
    .machine_two_pair {
        width: 100%;
        min-height: auto;
    }

    .h_images {
      flex-direction: column;
      align-items: center;
    }

    #h_s_tag {
        width: 90%;
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #cnc_label, #delem_label, #standard_label, #edge_label, 
    #crowningheavy_label, #hydraulic_c, #std_label, 
    #accessories_label {
        font-size: 1.2rem;
        padding: 0.8rem;
    }
    
    .dark-title-box {
        font-size: 1rem;
        min-width: auto;
        padding: 0.6rem 1rem;
    }
    
    #label_btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .img_container, .im, .die {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .delem_part, .cybelic_div {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        align-items: center;
    }

    .delem_part img, .cybelic_div img {
        width: 60%;
        max-width: 220px;
        height: auto;
        order: 1; /* Ensure image is first */
    }

    .delem_desc, .cybelic_desc {
        order: 2; /* Ensure description is second */
        width: 100%;
        align-items: center;
    }

    .cybelic_div img {
        order: 1; /* Keep consistency for Cybelec */
    }

    .cybelic_desc {
        order: 2; /* Keep consistency for Cybelec */
    }
}

/* Responsive styles for CNC Controller components */
@media screen and (max-width: 1024px) {
    .delem_main_div, .cybelic_main_part {
        padding: 1rem;
    }

    .machine_mega_div {
        margin: 1rem 0;
    }

    .machine_two_pair {
        padding: 1.5rem;
        gap: 1rem;
    }

    #img_of_machine {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 1rem 0;
    }

    .desc_of_machine {
        padding: 1rem;
    }

    .desc_of_machine ul li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width: 768px) {
    .delem_main_container, 
    .cybelic_main_part, 
    .step_main_container,
    .standard_main_components {
        padding-top: 120px !important;
        margin-top: 0 !important;
    }

    .green-title-box {
        font-size: 1.2rem;
        padding: 0.8rem 1rem;
    }

    .img_pa, .will_imgs, .heavy_part, .h_series_img_part, .h_series_img_part_1, .hydro_part {
        flex-direction: column;
        gap: 2rem;
    }

    .img_container, .im-1, .heavy_desc, .heavy_img, .h_img, .h_img_1, .hy_img_part {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .img_container img, .im-1 img, .heavy_img img, .h_img img, .h_img_1 img, .hy_img_p_1 img {
        width: 100%;
        height: auto;
    }

    #de_text {
        font-size: 1.3rem;
    }

    .h_images {
      flex-direction: column;
      align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .delem_main_container, .cybelic_main_part, .step_main_container {
        margin-top: 15%;
    }

    #delem_label, #standard_label {
        font-size: 1.2rem;
        padding: 0.5rem;
        margin: 0.5rem;
    }

    .machine_mega_div {
        gap: 1.5rem;
    }

    .machine_two_pair {
        padding: 0.8rem;
    }

    #label_of_machine {
        font-size: 1.1rem;
        padding: 0.5rem 0.8rem;
    }

    #img_of_machine {
        max-width: 200px;
    }

    .desc_of_machine {
        padding: 0.8rem;
    }

    .desc_of_machine ul li {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    /* Standard Components mobile styles */
    .img_container {
        padding: 0.8rem;
    }

    .img_container img {
        max-width: 180px;
    }

    .img_container p {
        font-size: 0.8rem;
    }

    .im-1 img {
        max-width: 200px;
    }

    .im-1 p {
        font-size: 0.8rem;
    }
}

/* Ensure images maintain aspect ratio */
#img_of_machine, .img_container img, .im-1 img {
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Improve touch targets on mobile */
#label_btn, .social-link, .machine_two_pair {
    min-height: 44px;
    touch-action: manipulation;
}

/* Optimize text readability on small screens */
@media screen and (max-width: 360px) {
    .desc_of_machine ul li {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    #label_of_machine {
        font-size: 1rem;
    }

    .img_container p, .im-1 p {
        font-size: 0.75rem;
    }
}

/* Responsive styles for titles */
@media screen and (min-width: 1024px) {
    .cybelic_main_part, .step_main_container {
        margin-top: 9.5%;
    }

    #delem_label, #standard_label {
        margin: 1rem auto;
        max-width: 98%;
    }
}

@media screen and (max-width: 1024px) {
    .cybelic_main_part, .step_main_container {
        margin-top: 10%;
    }
}

@media screen and (max-width: 768px) {
    .cybelic_main_part, .step_main_container {
        margin-top: 12%;
    }
}

@media screen and (max-width: 480px) {
    .cybelic_main_part, .step_main_container {
        margin-top: 15%;
    }
}

/* Main title (DELEM, STEP, CYBELEC) green with underline */
.delem_main_container #delem_label,
.step_main_container #delem_label,
.cybelic_main_part #delem_label {
    color: #a3c64a !important;
    border-bottom: 3px solid #a3c64a;
    display: block;
    padding-bottom: 0.3rem;
    margin: 0 auto 1.5rem auto;
    background: none !important;
    box-shadow: none !important;
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.delem_main_container #delem_label::after,
.step_main_container #delem_label::after,
.cybelic_main_part #delem_label::after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #a3c64a 0%, #e6f7d4 100%);
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 0.7s cubic-bezier(0.4,0.2,0.2,1);
    z-index: 2;
}
.delem_main_container #delem_label.animated::after,
.step_main_container #delem_label.animated::after,
.cybelic_main_part #delem_label.animated::after {
    width: 100%;
}

/* Subtle image hover transition for product images */
.delem_main_container #img_of_machine,
.step_main_container #img_of_machine,
.cybelic_main_part #img_of_machine {
    transition: box-shadow 0.3s, transform 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform: rotate(-4deg) scale(1);
}

.delem_main_container .machine_two_pair:hover #img_of_machine,
.step_main_container .machine_two_pair:hover #img_of_machine,
.cybelic_main_part .machine_two_pair:hover #img_of_machine {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transform: rotate(0deg) scale(1.10);
}

/* 1. Card hover: shadow, lift, gradient */
.delem_main_container .machine_two_pair,
.step_main_container .machine_two_pair,
.cybelic_main_part .machine_two_pair {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 2.5rem;
    padding: 2rem 1.5rem;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.7s cubic-bezier(0.4,0.2,0.2,1) forwards;
    animation-delay: 0.2s;
}

.delem_main_container .machine_two_pair:hover,
.step_main_container .machine_two_pair:hover,
.cybelic_main_part .machine_two_pair:hover {
    box-shadow: 0 8px 32px rgba(163,198,74,0.18), 0 2px 12px rgba(0,0,0,0.10);
    transform: translateY(-8px) scale(1.025);
    background: linear-gradient(120deg, #f8ffe8 0%, #e6f7d4 100%);
}

/* 2. Animated underline for title */
.delem_main_container #delem_label,
.step_main_container #delem_label,
.cybelic_main_part #delem_label {
    color: #a3c64a !important;
    border-bottom: 3px solid #a3c64a;
    display: block;
    padding-bottom: 0.3rem;
    margin: 0 auto 1.5rem auto;
    background: none !important;
    box-shadow: none !important;
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
    position: relative;
    overflow: hidden;
}
.delem_main_container #delem_label::after,
.step_main_container #delem_label::after,
.cybelic_main_part #delem_label::after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #a3c64a 0%, #e6f7d4 100%);
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 0.7s cubic-bezier(0.4,0.2,0.2,1);
    z-index: 2;
}
.delem_main_container #delem_label.animated::after,
.step_main_container #delem_label.animated::after,
.cybelic_main_part #delem_label.animated::after {
    width: 100%;
}

/* 3. Feature list icons */
.delem_main_container .desc_of_machine ul li::before,
.step_main_container .desc_of_machine ul li::before,
.cybelic_main_part .desc_of_machine ul li::before {
    content: '\2713'; /* checkmark */
    color: #a3c64a;
    font-weight: bold;
    margin-right: 0.7em;
    font-size: 1.1em;
    position: static;
}

/* 4. Gradient accent bar under title */
.delem_main_container #delem_label::before,
.step_main_container #delem_label::before,
.cybelic_main_part #delem_label::before {
    content: '';
    display: block;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #a3c64a 0%, #e6f7d4 100%);
    position: absolute;
    left: 0;
    bottom: -10px;
    border-radius: 3px;
    opacity: 0.7;
    z-index: 1;
}

/* 5. Responsive tweaks for cards */
@media (max-width: 700px) {
  .delem_main_container .machine_two_pair,
  .step_main_container .machine_two_pair,
  .cybelic_main_part .machine_two_pair {
    padding: 1.2rem 0.5rem;
  }
}

/* Force all text to black for Standard Components page only */
.standard_main_components,
.standard_main_components * {
    color: #222 !important;
}

/* Keep green for main title and section titles */
.standard_main_components #standard_label,
.standard_main_components .tool_holder_part #de_text,
.standard_main_components .wila_tool_holder #de_text {
    color: #a3c64a !important;
}

@media (max-width: 700px) {
  #edge_label,
  #crowningheavy_label,
  #hydraulic_c,
  #standard_label,
  #accessories_label {
    font-size: 1rem;
    padding: 0.4rem 0.2rem;
    border-radius: 5px;
  }
}

.standard_main_components .green-title-box {
    background: #a3c64a !important;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    padding: 1.1rem 0.5rem;
    border-radius: 12px;
    margin: 0.7rem 0 0.7rem 0;
    font-size: 1.35rem;
    display: block;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(163,198,74,0.08);
    text-transform: uppercase;
    width: 100%;
    line-height: 1.2;
}

.standard_main_components .h_images, .standard_main_components .h_im_1 {
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
}

.standard_main_components .h_im_1 img {
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}

.standard_main_components .hy_img_part .green-title-box {
    width: 100%;
    margin: 0.7rem 0 0.7rem 0;
    text-align: center;
    display: block;
}

.edge-h-title, .bending-tools-title {
    color: #a3c64a !important;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin: 1.2rem 0 1.2rem 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0;
    display: block;
}

.green-title-box {
  background: #a3c64a;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
  padding: 1rem 0;
  border-radius: 16px;
  margin: 1.5rem auto 1.5rem auto;
  box-shadow: 0 2px 10px rgba(163,198,74,0.10);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
  width: 100%;
  max-width: 100%;
}

.dark-title-box {
  background: #4d4f48;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.6rem 1.1rem;
  border-radius: 7px;
  margin: 1rem 0 1.2rem 0;
  box-shadow: 0 2px 10px rgba(77,79,72,0.10);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: inline-block;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/components/Products/calculator-technical/Calc_Technical.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************/
.calc_technical_section {
    padding: 4rem 5%;
    background: #fff;
}

.calc_technical_container {
    max-width: 1200px;
    margin: 0 auto;
}

.calc_technical_content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.calc_technical_content h2 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
}

.calc_technical_content p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    max-width: 600px;
}

.calc_technical_image {
    margin-top: 2rem;
}

.calc_technical_image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .calc_technical_section {
        padding: 2rem 3%;
    }

    .calc_technical_content h2 {
        font-size: 2rem;
    }

    .calc_technical_content p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .calc_technical_section {
        padding: 1.5rem 2%;
    }

    .calc_technical_content h2 {
        font-size: 1.8rem;
    }
} 
