/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/cnc-press-brake/CNC_press.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
    --background-dark: #5F5F5FE5;
    --button-color: #4D4F48;
    --text-white: #fff;
    --transition-standard: 0.4s ease;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    --hover-scale: 1.03;
    --color-highlight: #4D4F48;
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cnc_press {
    overflow-x: hidden;
    margin-top: 9.5%;
    perspective: 1000px;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Machine Main Div Styles */
.machine_main_div_2 {
    position: relative;
    display: block;
    margin: 1% 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-standard);
}

.machine_main_div_2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.machine_main_div_2 img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: brightness(0.9);
    transform-origin: center;
}

.machine_main_div_2:hover img {
    transform: scale(var(--hover-scale));
    filter: brightness(0.85);
}

/* Button and Image Div */
.btn_and_img_div {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 10%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5%;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.5s;
}

.btn_and_img_div_2 {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 10%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5%;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.5s;
}

/* Machine Description */
.machine_desc_2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    z-index: 2;
}

/* Labels */
#main_machine_label {
    padding: 2%;
    font-weight: 600;
    font-size: 1.4rem;
    word-spacing: 0.2em;
    color: var(--text-white);
    text-decoration: none;
    border: none;
    outline: none;
    background-color: var(--button-color);
    border-radius: 3px;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-standard);
}

#machine_label_2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: var(--text-shadow);
    margin: 0;
    line-height: 1.2;
    text-align: left;
    max-width: 400px;
}

/* Machine Images */
#machine_img {
    height: 50%;
    width: 45%;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: brightness(0.9);
    transform-origin: center;
}

#machine_img:hover {
    transform: scale(var(--hover-scale));
    filter: brightness(0.85);
}

#machine_img_5 {
    height: 50%;
    width: 30%;
    height: auto;
    display: block;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: brightness(0.9);
    transform-origin: center;
}

#machine_img_5:hover {
    transform: scale(var(--hover-scale));
    filter: brightness(0.85);
}

/* View Button */
#view_2 {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    background: linear-gradient(135deg, var(--button-color), #3a3d36);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-standard);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

#view_2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#view_2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #5a5d56, var(--button-color));
}

#view_2:hover::after {
    left: 100%;
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

#view_2:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

/* Machine Parent Div */
.machine_parent_div {
    margin: 2% 0;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    #main_machine_label {
        font-size: 1.2rem;
    }
    
    #machine_label_2 {
        font-size: 1.5rem;
    }
    
    #view_2 {
        padding: 10px 20px;
    }
    
    #part_3_div {
        flex-direction: column;
    }
    
    #part_5_div {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .machine_main_div_2 {
        min-width: 0;
        width: 98vw;
        margin: 2vw auto;
        padding: 0.5rem 0.5rem 1.5rem 0.5rem;
        border-radius: 10px;
        box-sizing: border-box;
    }
    .btn_and_img_div,
    .btn_and_img_div_2 {
        flex-direction: column !important;
        position: static;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 0;
        gap: 1rem;
        text-align: center;
    }
    #machine_img, #machine_img_5 {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 0 auto 1rem auto;
        display: block;
        object-fit: contain;
    }
    .machine_desc_2 {
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        width: 100%;
        margin: 0 auto;
    }
    #machine_label_2 {
        font-size: 1.1rem;
        font-weight: 600;
        max-width: 95vw;
        line-height: 1.2;
        margin: 0.5rem 0 0.5rem 0;
        word-break: break-word;
        white-space: normal;
    }
    #view_2 {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
        margin: 0.5rem 0 0 0;
        width: auto;
        min-width: 90px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .machine_main_div_2 {
        width: 99vw;
        padding: 0.3rem 0.2rem 1rem 0.2rem;
        border-radius: 8px;
    }
    #machine_img, #machine_img_5 {
        max-width: 90vw;
    }
    #machine_label_2 {
        font-size: 0.95rem;
    }
    #view_2 {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        min-width: 80px;
    }
}

@media screen and (max-width: 420px) {
    #main_machine_label {
        font-size: 0.9rem;
    }
    
    #main_machine_label_2,
    #machine_label_2 {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    #view_2 {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* Hover Effects */
.machine_main_div_2:hover .btn_and_img_div_2 {
    opacity: 1;
    animation: fadeIn 0.3s forwards;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.machine_main_div_2 img {
    transition: transform 0.8s ease, filter 0.5s ease;
}

.machine_main_div_2 img.loaded {
    animation: fadeIn 0.5s ease-in-out;
} 
