/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/hydraulic-press-break/HydraulicPressBrake.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************/
/* Edge Series Hero Section Styles */
.cnc_hero_section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #f9f9f9;
    border-radius: 12px;
}

.cnc_hero_image_wrapper {
    width: 50%;
    padding-right: 2rem;
}

#cnc_logo_img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    border-radius: 8px; /* Added for consistency */
}

#cnc_logo_img:hover {
    transform: scale(1.03);
}

.cnc_text_section {
    width: 50%;
    background-color: #A5C847;
    padding: 3rem 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cnc_description {
    background-color: #4D4F48;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: left;
}

#CNC_label_text {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

#CNC_sub_label_text {
    font-size: 1rem;
    opacity: 0.9;
}

.edge-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.edge-hero-btn {
    background: rgba(255, 255, 255, 0.3);
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    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 ease;
    text-decoration: none;
}

.edge-hero-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    color: #000;
}

.edge-hero-btn-icon {
    filter: invert(0.2);
}

.hydraulic_press_brake_page {
    width: 100%;
    overflow-x: hidden;
    padding-top: 120px;
    background-color: #ffffff;
}

/* Hero Section */
.hpb_hero_section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hpb_hero_image {
    flex: 1 1 55%;
}

.hpb_hero_image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.hpb_hero_content {
    flex: 1 1 45%;
    background-color: #a3c64a;
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    height: 100%;
}

.hpb_hero_title_box {
    background-color: #4d4f48;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.hpb_hero_title_box h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.hpb_hero_title_box p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.hpb_hero_buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hpb_hero_btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    border-radius: 8px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hpb_hero_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Description Section */
.hpb_description_section {
    display: flex;
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.hpb_description_text {
    flex: 1 1;
    line-height: 1.7;
    color: #333;
}

.hpb_description_image {
    flex: 1 1;
    text-align: center;
}

.hpb_description_image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Features Section */
.hpb_features_section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #f9f9f9;
}

.hpb_feature_card, .hpb_cybelec_card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    flex: 1 1;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}
.hpb_feature_card:hover, .hpb_cybelec_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.hpb_feature_card:nth-child(2) {
    animation-delay: 0.2s;
}
.hpb_cybelec_card {
    animation-delay: 0.4s;
}

.hpb_feature_card img {
    width: 100%;
    height: auto;
}

.hpb_cybelec_card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    flex: 1 1;
    padding: 0;
}

.hpb_cybelec_card .f_part {
    background-color: #a3c64a;
    color: white;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.hpb_cybelec_card .f_part p,
.hpb_cybelec_card .cyb_part p {
    margin: 0;
}

.hpb_cybelec_card .cyb_part {
    background-color: #4d4f48;
    color: white;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.hpb_cybelec_card #hydrolic_img {
    width: 100%;
    height: auto;
    padding: 1rem;
    background-color: #fff;
}

/* Specification Section */
.hpb_specification_section {
    padding: 3rem 2rem;
}

/* Standard/Optional Features Section */
.hpb_std_features_section {
    background-color: #4d4f48;
    color: #fff;
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    max-width: 1400px;
    margin: 2rem auto;
    border-radius: 12px;
}

.hpb_feature_column {
    flex: 1 1;
}

.hpb_feature_column .hpb_feature_title {
    color: #a3c64a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #a3c64a;
    display: inline-block;
}

.hpb_feature_column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hpb_feature_column:nth-child(2) ul {
    margin-top: 3.2rem;
}

.hpb_feature_column ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.hpb_feature_column ul li::before {
    content: '•';
    color: #a3c64a;
    position: absolute;
    left: 0;
    top: 0.5rem;
    font-size: 1.2rem;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .hpb_hero_section, .hpb_description_section, .hpb_features_section, .hpb_std_features_section {
        flex-direction: column;
    }
    .hpb_hero_content {
        height: auto;
    }
    .hpb_feature_column:nth-child(2) ul {
        margin-top: 0;
    }
}

@media screen and (max-width: 768px) {
    .hydraulic_press_brake_page {
        padding-top: 100px;
    }
    .hpb_hero_title_box h1 {
        font-size: 1.5rem;
    }
    .hpb_hero_btn {
        padding: 0.8rem;
    }
    .hpb_hero_section, .hpb_description_section, .hpb_features_section, .hpb_specification_section, .hpb_std_features_section {
        padding: 1.5rem 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(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/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;
}
