/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/Footer/Footer.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
/* Footer Styles */
:root {
    --primary-color: #a5c847;
    --accent-color: #a5c847;
    --dark-accent: #a5c847;
    --light-text: #ecf0f1;
    --footer-bottom: #1a252f;
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.8s;
}

.footer {
    background-color: #4d4f48;
    color: #ffffff;
    padding: 2rem 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated shimmer border at top */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    background-size: 200% 100%;
    animation: shimmer 2.5s linear infinite;
    z-index: 2;
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.2rem;
}

.footer-left, .footer-right {
    flex: 1 1;
}

.iso-logo, .certificate-image {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.08));
    transition: filter 0.3s;
}

.iso-logo::after, .certificate-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s;
    pointer-events: none;
}

.iso-logo:hover::after, .certificate-image:hover::after {
    left: 120%;
    transition: left 0.5s;
}

.footer-middle {
    flex: 3 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-address {
    max-width: 450px;
    line-height: 1.4;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin: 0.5rem 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #3a3a3a;
    border: 1px solid #5a5a5a;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.social-icon img {
    /* No invert */
}

.contact-info p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
}

.footer-company-desc {
    max-width: 700px;
    margin: 1.2rem auto;
    line-height: 1.4;
    font-size: 0.85rem;
}

.footer-bottom {
    background-color: var(--primary-color);
    color: #1e1e1e;
    padding: 0.7rem;
    margin: 0 -1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #fff;
}

.developer-text {
    font-size: 0.8rem;
    color: #fff;
}

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

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

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

/* Responsive Styles */
@media screen and (min-width: 768px) {
    .footer-content {
        padding: 0 2rem;
    }
    
    .certificate-img {
        max-width: 120px;
    }
}

@media screen and (max-width: 767px) {
    .footer-main {
        flex-direction: column;
        gap: 1.2rem;
        padding-bottom: 1.2rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-address {
        font-size: 0.9rem;
    }
    
    .footer-company-desc {
        font-size: 0.8rem;
    }
    
    .footer-bottom p {
        font-size: 0.7rem;
    }
    .iso-logo {
        max-width: 60px !important;
    }
    .certificate-image {
        max-width: 70px !important;
    }
}

@media screen and (max-width: 540px) {
    .footer-title {
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }
    
    .footer-address p,
    .company-desc p {
        font-size: 0.85rem;
    }
    
    .certificate-img {
        max-width: 80px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .contact-info p {
        font-size: 0.85rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 430px) {
    .footer-container {
        padding: 1rem 0;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-address p,
    .company-desc p {
        font-size: 0.8rem;
    }
    
    .certificate-img {
        max-width: 70px;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
    }
    
    .contact-info p {
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .footer-bottom p {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 320px) {
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-address p,
    .company-desc p {
        font-size: 0.75rem;
    }
    
    .certificate-img {
        max-width: 60px;
    }
    
    .social-link {
        width: 25px;
        height: 25px;
    }
    
    .contact-info p {
        font-size: 0.75rem;
    }
}

/* Shine effect for images - use wrapper for Next.js <Image /> */
.footer-image-shine {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.footer-image-shine img,
.footer-image-shine .iso-logo,
.footer-image-shine .certificate-image {
    display: block;
    width: 100%;
    height: auto;
}
.footer-image-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s;
    pointer-events: none;
}
.footer-image-shine:hover::after {
    left: 120%;
    transition: left 0.5s;
}

.iso-logo {
    max-width: 120px !important;
    height: auto !important;
}
.certificate-image {
    max-width: 120px !important;
    height: auto !important;
} 
/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/Home/MapSection.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
.map_section_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding: 4rem 8%;
  background-color: var(--bg-light);
}

.map_card {
  background-color: #4d4f48;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 700px;
  height: 250px;
  position: relative;
}

.map_image_wrapper {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 100%;
  display: flex;
  align-items: center;
}

.map_image_wrapper img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.map_content {
  position: absolute;
  top: 50%;
  right: 13%;
  transform: translateY(-50%);
  color: var(--text-light);
  text-align: center;
  z-index: 2;
}

.map_content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.map_learn_more_btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.map_learn_more_btn:hover {
  background-color: var(--primary-light);
  transform: scale(1.05);
} 
/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/Home/ProductSection.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
/* Product Section Styles */
.product-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f9f9f9 60%, #e8f5c8 100%);
    min-height: 100vh;
  }
  
  .product-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding: 0;
  }
  
  .product-section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #A3C64A;
  }
  
  .product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    padding: 0 80px;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .product-card {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(33.333% - 24px);
    max-width: calc(33.333% - 24px);
    cursor: pointer;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 8px rgba(163, 198, 74, 0.08);
    border-radius: 18px;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1);
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
  }
  
  .product-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse at center, #a3c64a33 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.35s, transform 0.35s;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
  }
  
  .product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 32px 0 #a3c64a22, 0 2px 8px rgba(0,0,0,0.08);
  }
  
  .product-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -30%) scale(1);
  }
  
  .product-image {
    width: 100%;
    height: 300px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    box-shadow: none;
    background: #fff;
  }
  
  .product-image img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1);
    border-radius: 0;
    box-shadow: none;
  }
  
  .product-card:hover .product-image img {
    transform: scale(1.04);
    box-shadow: none;
  }
  
  .product-title {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin: 15px 0;
    line-height: 1.4;
  }
  
  /* Arrow pulse animation */
  @keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 #a3c64a44; }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px #a3c64a11; }
    100% { transform: scale(1); box-shadow: 0 0 0 0 #a3c64a44; }
  }
  
  .nav-circle {
    display: block;
    margin: 18px auto 0 auto;
    position: static;
    background: #a3c64a;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px #a3c64a22;
    transition: background 0.2s, color 0.2s;
    outline: none;
    cursor: pointer;
    line-height: 38px;
  }
  
  .nav-circle::before,
  .nav-circle::after {
    content: "";
  }
  
  .product-card:hover .nav-circle {
    background: #8bbf2f;
    color: #fff;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 1200px) {
    .product-grid {
      padding: 0 40px;
    }
  }
  
  @media screen and (max-width: 992px) {
    .product-card {
      flex-grow: 0;
      flex-shrink: 0;
      flex-basis: calc(50% - 15px);
      max-width: calc(50% - 15px);
    }
    
    .product-image {
      height: 260px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .product-section-title {
      font-size: 2rem;
    }
    
    .product-section-title::after {
      width: 60px;
    }
    
    .product-grid {
      padding: 0 20px;
      gap: 20px;
    }
    
    .product-image {
      height: 240px;
    }
    
    .nav-circle {
      width: 32px;
      height: 32px;
      font-size: 1.1rem;
      line-height: 32px;
    }
  }
  
  @media screen and (max-width: 576px) {
    .product-section-title {
      font-size: 1.8rem;
    }
    
    .product-section-title::after {
      width: 50px;
    }
    
    .product-card {
      flex: 0 0 100%;
      max-width: 100%;
    }
    
    .product-title {
      font-size: 0.9rem;
    }
    
    .product-image {
      height: 220px;
    }
    
    .nav-circle {
      width: 26px;
      height: 26px;
      font-size: 0.9rem;
      line-height: 26px;
    }
  } 
/*!**************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/Home/home.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Parmar CNC - Home Page Styles
 * Version: 1.0
 */

/* ==========================================================================
   1. Imports & Variables
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  /* Brand Colors */
  --primary-color: #a3c64a;      /* Parmar green */
  --primary-dark: #8bab3e;
  --primary-light: #b4d35f;
  --primary-glow: rgba(163, 198, 74, 0.4);
    
  /* Neutral Colors */
  --secondary-color: #333333;
  --secondary-dark: #222222;
  --secondary-light: #555555;
  --text-dark: #222222;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #111111;
    
  /* Gradients & Accents */
  --bg-gradient: linear-gradient(135deg, #111111 0%, #333333 100%);
  --accent-blue: #3e8bab;
  --accent-orange: #e8a87c;

  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 16px 32px rgba(163, 198, 74, 0.3);
  --shadow-primary: 0 8px 16px rgba(163, 198, 74, 0.25);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==========================================================================
   2. Base Styles & Reset
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  overflow-x: hidden;
}

/* ==========================================================================
   3. Utility Classes
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
}

/* ==========================================================================
   4. Button Styles
   ========================================================================== */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::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: var(--transition);
  z-index: -1;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover::before {
  left: 100%;
  transition: 0.7s;
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero-section {
  background-color: #f8f9fa;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.products-section {
  padding: 5rem 0;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.why-choose-us {
  background-color: #f8f9fa;
}

.why-choose-us img {
  transition: transform 0.3s ease;
}

.why-choose-us img:hover {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .hero_slide, .hero_slide.active {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    height: auto;
    padding: 2vh 2vw;
    gap: 0;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .hero_content {
    width: 60%;
    min-width: 0;
    padding: 0 2vw 0 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .hero_text h1 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    word-break: break-word;
    white-space: normal;
    line-height: 1.1;
  }
  .hero_text h3 {
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    line-height: 1.1;
  }
  .hero_button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    margin-top: 0.3rem;
    align-self: flex-start;
  }
  .hero_image {
    width: 40%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 110px;
  }
  .hero_image img, .hero_image .next-image {
    width: 100%;
    height: auto;
    max-width: 110px;
    max-height: 16vh;
    object-fit: contain;
    margin-top: 0;
    display: block;
  }
}
@media (max-width: 425px) {
  .hero_slide, .hero_slide.active {
    padding: 1vh 1vw;
  }
  .hero_content {
    width: 62%;
    padding: 0 1vw 0 0;
  }
  .hero_image {
    width: 38%;
    max-width: 90px;
  }
  .hero_image img, .hero_image .next-image {
    max-width: 90px;
    max-height: 13vh;
  }
  .hero_button {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
    min-width: 70px;
    max-width: 80vw;
  }
}
@media (max-width: 375px) {
  .hero_content {
    width: 64%;
  }
  .hero_image {
    width: 36%;
    max-width: 75px;
  }
  .hero_image img, .hero_image .next-image {
    max-width: 75px;
    max-height: 11vh;
  }
  .hero_button {
    font-size: 0.65rem;
    padding: 0.28rem 0.6rem;
    min-width: 60px;
    max-width: 75vw;
  }
}
@media (max-width: 320px) {
  .hero_box, .hero_slide, .hero_slide.active {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .hero_content {
    width: 55%;
    min-width: 0;
    flex-shrink: 1;
    box-sizing: border-box;
  }
  .hero_image {
    width: 45%;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .hero_image img, .hero_image .next-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 15vh;
    object-fit: contain;
    display: block;
  }
  .hero_button {
    font-size: 0.6rem;
    padding: 0.22rem 0.45rem;
    min-width: 50px;
    max-width: 70vw;
  }
}

/* 5.1 Hero Container */
.hero_box {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

/* 5.2 Hero Slides */
.hero_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 1;
  visibility: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1);
  will-change: transform;
  background-color: #000 !important;
}
.hero_slide:not(.active) {
  transform: translateX(100%);
}
.hero_slide.active {
  transform: translateX(0);
  z-index: 2;
}
.hero_slide.slide-out {
  transform: translateX(-100%);
  z-index: 1;
}
.hero_content {
  flex: 0 0 45%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.45, 0, 0.55, 1);
  transition-delay: 0.3s;
  color: #fff;
}
.hero_slide.active .hero_content {
  opacity: 1;
  transform: translateX(0);
}
.hero_image {
  flex: 0 0 55%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.45, 0, 0.55, 1);
  transition-delay: 0.4s;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero_slide.active .hero_image {
  opacity: 1;
  transform: translateX(0);
}
.hero_overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.hero_text {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero_text h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  transition: color 0.3s;
}
.hero_text h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.hero_button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 16px rgba(163, 198, 74, 0.15);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero_button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 32px rgba(163, 198, 74, 0.22);
}
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.1rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.85;
}
.scroll-indicator .chevron {
  width: 32px;
  height: 32px;
  border-bottom: 3px solid #a3c64a;
  border-right: 3px solid #a3c64a;
  transform: rotate(45deg);
  margin-top: 6px;
  animation: bounce 1.2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(10px) rotate(45deg); }
}
.hero_navigation {
  position: absolute;
  right: 4vw;
  bottom: 4vh;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 10;
}
.hero_dots {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.hero_dot {
  width: 40px;
  height: 6px;
  border-radius: 4px;
  background: #222;
  opacity: 0.5;
  transition: background 0.3s, opacity 0.3s, width 0.3s;
  cursor: pointer;
}
.hero_dot.active {
  background: var(--primary-color);
  opacity: 1;
  width: 60px;
}
.hero_arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 3px solid #fff;
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  outline: none;
}
.hero_arrow:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
.hero_prev {
  transform: scaleX(-1);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero_text h1 { font-size: 3.2rem; }
  .hero_text h3 { font-size: 1.5rem; }
  .hero_button { font-size: 1.3rem; padding: 1.2rem 3rem; }
}
@media (max-width: 900px) {
  .hero_box { height: 80vh; }
  .hero_slide, .hero_slide.active {
    height: 80vh;
    padding: 2vh 3vw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vh;
  }
  .hero_content, .hero_image {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1vh 0;
  }
  .hero_text {
    padding: 2vh 0;
    margin-bottom: 2vh;
  }
  .hero_text h1 { 
    font-size: 2.2rem; 
    margin-bottom: 1vh;
    line-height: 1.2;
  }
  .hero_text h3 { 
    font-size: 1.1rem; 
    margin-bottom: 2vh;
    line-height: 1.3;
  }
  .hero_button { font-size: 1rem; padding: 1rem 2rem; }
  .hero_image img, .hero_image .next-image { width: 100%; max-height: 35vh; }
  .hero_navigation { right: 2vw; bottom: 2vh; gap: 1rem; }
  .hero_dot { width: 30px; height: 4px; }
  .hero_dot.active { width: 40px; }
  .hero_arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}
@media (max-width: 700px) {
  .hero_box, .hero_slide, .hero_slide.active {
    flex-direction: column;
    height: auto;
    min-height: 75vh;
    padding: 3vh 1vw;
    gap: 3vh;
  }
  .hero_content, .hero_image {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2vh 0;
  }
  .hero_text {
    padding: 3vh 0;
    margin-bottom: 3vh;
  }
  .hero_text h1 { 
    font-size: 1.8rem; 
    margin-bottom: 2vh;
    line-height: 1.2;
  }
  .hero_text h3 { 
    font-size: 1rem; 
    margin-bottom: 3vh;
    line-height: 1.3;
  }
  .hero_button { font-size: 0.9rem; padding: 0.7rem 1.2rem; }
  .hero_image img, .hero_image .next-image { width: 100%; max-height: 30vh; }
  .hero_navigation { right: 2vw; bottom: 2vh; gap: 1rem; }
  .hero_dot { width: 24px; height: 4px; }
  .hero_dot.active { width: 32px; }
  .hero_arrow { width: 32px; height: 32px; font-size: 1rem; }
}
@media (max-width: 480px) {
  .hero_box, .hero_slide, .hero_slide.active {
    flex-direction: column;
    height: auto;
    min-height: 70vh;
    padding: 4vh 0.5vw;
    gap: 4vh;
  }
  .hero_content, .hero_image {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3vh 0;
  }
  .hero_text {
    padding: 4vh 0;
    margin-bottom: 4vh;
  }
  .hero_text h1 { 
    font-size: 1.4rem; 
    margin-bottom: 2vh;
    line-height: 1.2;
  }
  .hero_text h3 { 
    font-size: 0.9rem; 
    margin-bottom: 3vh;
    line-height: 1.3;
  }
  .hero_button { font-size: 0.8rem; padding: 0.6rem 1rem; }
  .hero_image img, .hero_image .next-image { width: 100%; max-height: 25vh; }
  .hero_navigation { right: 1vw; bottom: 1vh; gap: 0.5rem; }
  .hero_dot { width: 16px; height: 3px; }
  .hero_dot.active { width: 22px; }
  .hero_arrow { width: 28px; height: 28px; font-size: 0.9rem; }
}

.two_name_container {
  margin: 8% 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  padding: 3rem 8%;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  z-index: 2;
}
.two_name_container::before {
  content: none;
}
.two_name_container img, .two_name_img {
  width: 38%;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin: 0;
  display: block;
  object-fit: contain;
  transition: var(--transition-bounce);
  filter: saturate(0.9);
}
.two_name_container img:hover, .two_name_img:hover {
  filter: saturate(1.1);
  transform: scale(1.02);
}
@media (max-width: 900px) {
  .two_name_container { flex-direction: column; gap: 2rem; padding: 2rem 2vw; }
  .two_name_container img, .two_name_img { width: 80%; }
}

.text_container {
  margin: 8% 6%;
  padding: 60px 48px;
  background-color: var(--bg-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-left: 8px solid var(--primary-color, #a3c64a);
}
@media (max-width: 900px) {
  .text_container {
    margin: 6% 2%;
    padding: 32px 12px;
  }
}

.text_container::before,
.text_container::after {
  display: none;
}

.text_container p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.text_container p:last-child {
  margin-bottom: 0;
}

.text_container p::first-letter {
  font-size: 2.5rem;
  font-weight: 700;
  color: #a3c64a;
  float: left;
  margin-right: 0.5rem;
  line-height: 1;
}

.over_lap_class_1 {
  padding: 4rem 8%;
  background-color: var(--bg-light);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.overlap_1 {
  display: flex;
  align-items: center;
  gap: 4rem;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.side_of_text {
  flex: 0 0 40%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media screen and (max-width: 767px) {
  .overlap_1 {
    flex-direction: column;
    gap: 2rem;
  }
}

@keyframes slide-up-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#home_product_img {
  flex: 0 0 60%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

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

.side_of_text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: justify;
}

.side_of_text:hover p {
  color: var(--primary-color);
}

#learn_more_btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  align-self: flex-start;
}

#learn_more_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: var(--transition);
  z-index: -1;
}

#learn_more_btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

#learn_more_btn:hover::before {
  left: 100%;
  transition: 0.7s;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .hero_slide:first-child {
    padding: 0 5%;
  }
  
  .hero_slide:first-child .hero_content {
    flex: 0 0 60%;
  }
  
  .hero_slide:first-child .hero_image {
    flex: 0 0 40%;
  }
  
  .hero_slide:nth-child(2) .hero_content,
  .hero_slide:nth-child(2) .hero_image {
    flex: 0 0 45%;
  }
  
  .hero_slide:nth-child(2) .hero_text h1 {
    font-size: 2.2rem;
  }
  
  .hero_slide:nth-child(2) .hero_text h3 {
    font-size: 1.1rem;
  }
  
  .hero_slide:nth-child(2) .hero_image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  .hero_section {
    height: auto;
    min-height: 100vh;
  }
  
  .hero_slide {
    flex-direction: column;
    padding: 2rem 5%;
    height: auto;
    min-height: 100vh;
  }
}

@media screen and (max-width: 480px) {
  .hero_text h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
}

@media screen and (max-width: 360px) {
  .hero_text h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
}

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

@media print {
  .hero_navigation,
  .hero_arrow,
  .hero_dots {
    display: none;
  }
}

@media screen and (max-width: 766px) {
  .hero_section {
    height: auto;
  }
  
  .hero_slide:first-child {
    flex-direction: column;
    padding: 0;
    height: auto;
    min-height: 100vh;
  }
  
  .hero_slide:first-child .hero_image {
    position: relative;
    flex: 0 0 50vh;
    width: 100%;
    opacity: 0.6;
  }
  
  .hero_slide:first-child .hero_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero_slide:first-child::after {
    background: linear-gradient(
      180deg,
      var(--bg-dark) 0%,
      rgba(0, 0, 0, 0.8) 50%,
      transparent 100%
    );
  }
  
  .hero_slide:first-child .hero_content {
    flex: 0 0 50vh;
    padding: 2rem;
    display: flex;
    align-items: center;
  }
  
  .hero_slide:first-child .hero_text {
    text-align: center;
  }
  
  .hero_slide:not(:first-child) {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
  }
  
  .hero_slide:not(:first-child) .hero_content {
    width: 50%;
    order: 1;
    padding-right: 1rem;
    text-align: left;
  }
  
  .hero_slide:not(:first-child) .hero_image {
    width: 50%;
    order: 2;
    height: auto;
  }
  
  .hero_slide:not(:first-child) .hero_image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .hero_text h1 {
    font-size: 2rem;
  }
  
  .hero_text h3 {
    font-size: 1.1rem;
  }
  
  .hero_button {
    width: 100%;
    padding: 1rem;
  }
  
  .hero_nav_button {
    display: none;
  }
  
  .hero_dots {
    position: absolute;
    bottom: 1rem;
  }
  
  .hero_dot {
    width: 8px;
    height: 8px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero_slide:nth-child(2) .hero_content,
  .hero_slide:nth-child(3) .hero_content {
    margin-top: 80px;
    padding-top: 20px;
  }
  .hero_slide:nth-child(2) .hero_text h1,
  .hero_slide:nth-child(3) .hero_text h1 {
    font-size: 3.2rem;
    line-height: 1.1;
  }
  .hero_slide:nth-child(2) .hero_text h3,
  .hero_slide:nth-child(3) .hero_text h3 {
    font-size: 1.5rem;
    margin-top: 5px;
  }
  .hero_slide:nth-child(2) .hero_image,
  .hero_slide:nth-child(3) .hero_image {
    max-height: 80vh;
    display: flex;
    align-items: center;
  }
}

.hero_slide .hero_image {
  position: relative;
}

.hero_slide .hero_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1);
}

.hero_slide:nth-child(2),
.hero_slide:nth-child(3) {
  background-color: var(--bg-light);
}

.hero_slide:nth-child(2) * ,
.hero_slide:nth-child(3) * {
  color: var(--text-dark);
}

.hero_slide:nth-child(2) .hero_image,
.hero_slide:nth-child(3) .hero_image {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero_slide:nth-child(2) .hero_image img,
.hero_slide:nth-child(3) .hero_image img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1);
}

.hero_slide:nth-child(2):focus,
.hero_slide:nth-child(3):focus {
  outline: none;
}

#first_slide_explore_btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#first_slide_explore_btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

@media screen and (max-width: 767px) {
  #first_slide_explore_btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
  }
  
  #first_slide_explore_btn:hover {
    transform: translateY(-3px);
  }
}

@media screen and (max-width: 480px) {
  #first_slide_explore_btn {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 380px) {
  #first_slide_explore_btn {
    padding: 0.7rem;
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 320px) {
  #first_slide_explore_btn {
    padding: 0.6rem;
    font-size: 0.7rem;
  }
}

.hero_slide:nth-child(3) {
  background-color: var(--bg-light);
}

@media screen and (max-width: 767px) {
  .hero_slide:first-child .hero_text h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero_slide:first-child .hero_text h3 {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

@media screen and (max-width: 480px) {
  .hero_slide:first-child .hero_text h1 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 375px) {
  .hero_slide:first-child .hero_text h1 {
    font-size: 1.6rem;
  }
  
  .overlap_1 {
    padding: 1rem;
  }
}

@media screen and (max-width: 320px) {
  .hero_text {
    padding: 0 1rem;
  }
  
  .hero_text h1 {
    font-size: 1.4rem;
  }
  
  .hero_text h3 {
    font-size: 0.9rem;
  }
  
  .hero_button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .text_container {
    padding: 2rem 1rem;
  }
  
  .text_container p {
    font-size: 0.9rem;
  }
}

@media screen and (max-aspect-ratio: 16 / 9) {
  .hero_slide:first-child .hero_image img {
    object-position: center;
  }
}

@media screen and (min-aspect-ratio: 2 / 1) {
  .hero_slide:first-child {
    padding: 0 10%;
  }
  
  .hero_slide:first-child .hero_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero_slide, .hero_slide.active {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    height: auto;
    padding: 3vh 3vw;
    gap: 0;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .hero_content {
    width: 60%;
    min-width: 0;
    padding: 0 2vw 0 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
  }
  .hero_text h1 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    word-break: break-word;
    white-space: normal;
    line-height: 1.15;
  }
  .hero_text h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.15;
  }
  .hero_button {
    font-size: 1rem;
    padding: 0.7rem 1.3rem;
    margin-top: 0.4rem;
    align-self: flex-start;
  }
  .hero_image {
    width: 40%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 180px;
  }
  .hero_image img, .hero_image .next-image {
    width: 100%;
    height: auto;
    max-width: 180px;
    max-height: 22vh;
    object-fit: contain;
    margin-top: 0;
    display: block;
  }
}
@media (max-width: 480px) {
  .hero_button {
    font-size: 0.7rem;
    padding: 0.4rem 0.7rem;
    min-width: 80px;
    max-width: 90vw;
  }
}

.hero_slide.second-bg {
  background: #000 url('/images/CNC_PRESS_BRAKE_MACHINE_EDGE_SERIES.png') no-repeat center center/cover !important;
  position: relative;
}
.hero_slide.second-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 0;
}
.hero_slide.second-bg .hero_content,
.hero_slide.second-bg .hero_image,
.hero_slide.second-bg .hero_navigation {
  position: relative;
  z-index: 1;
}
.hero_slide.second-bg .hero_text h1 {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  animation: fadeInUp 0.8s;
}
.hero_slide.second-bg .hero_text h3 {
  color: #b0d24a;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  animation: fadeInUp 1s 0.2s both;
}
.hero_slide.second-bg .hero_button {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  animation: fadeInUp 1.2s 0.4s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero_slide:nth-child(2) .hero_button,
.hero_slide:nth-child(3) .hero_button {
  color: #000000 !important;
}

.hero_slide:nth-child(2) .hero_arrow,
.hero_slide:nth-child(2) .hero_dot,
.hero_slide:nth-child(3) .hero_arrow,
.hero_slide:nth-child(3) .hero_dot {
  color: #fff !important;
  background: #000000 !important;
  border-color: #fff !important;
  fill: #fff !important;
}

.hero_slide:not(:first-child) .hero_text h1,
.hero_slide:not(:first-child) .hero_text h3 {
  color: #fff !important;
}

.hero_slide:not(:first-child) .hero_button {
  color: #fff !important;
}
.white-btn {
  color: #fff !important;
}

@media (max-width: 425px) {
  .hero_slide:not(:first-child) .hero_text h1 {
    font-size: 0.92rem;
    font-weight: 500;
    padding-top: 0;
    padding-bottom: 0.5rem;
    word-break: break-word;
    white-space: normal;
    margin-bottom: 0.5vh;
    line-height: 1.1;
    letter-spacing: 0.01em;
  }
  .hero_slide:not(:first-child) .hero_text h3 {
    font-size: 0.75rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
  }
}
@media (max-width: 375px) {
  .hero_slide:not(:first-child) .hero_text h1 {
    padding-top: 3.2rem;
  }
}
@media (max-width: 360px) {
  .hero_slide:not(:first-child) .hero_text h1 {
    padding-top: 3.8rem;
  }
}
@media (max-width: 320px) {
  .hero_slide:not(:first-child) .hero_text h1 {
    padding-top: 4.5rem;
  }
} 
/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/Home/mobile-button-fix.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
/* Mobile button fix styles for the first slide's button */
@media screen and (max-width: 767px) {
  /* Make sure the hero slide container allows proper positioning */
  .hero_slide:first-child {
    position: relative !important;
    min-height: 100vh !important;
  }
  
  /* Position the first slide button above the hero dots */
  .hero_slide:first-child.active button#first_slide_explore_btn.first-slide-mobile-btn {
    position: absolute !important;
    bottom: 120px !important; /* Position above the hero dots */
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 auto !important;
    max-width: 280px !important;
    width: 80% !important;
    padding: 15px 30px !important;
    font-size: 1rem !important;
    text-align: center !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    z-index: 9999 !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    display: block !important;
    border: none !important;
    border-radius: 4px !important;
  }
  
  /* Fix hero navigation position */
  .hero_navigation {
    bottom: 60px !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
  }
  
  /* Fix hero dots styling */
  .hero_dots {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
  
  .hero_dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
  }
  
  .hero_dot.active {
    background: var(--primary-color) !important;
    transform: scale(1.2) !important;
    width: 10px !important;
    height: 10px !important;
  }
  
  /* Hide the button in its original location */
  .hero_slide:first-child .hero_text .hero_button.first-slide-mobile-btn {
    display: none !important;
  }
  
  /* Make sure button is shown only for the first slide */
  .hero_slide:not(.active) button#first_slide_explore_btn,
  .hero_slide:not(:first-child) button#first_slide_explore_btn {
    display: none !important;
  }
  
  /* Hide the arrow buttons on mobile */
  .hero_arrow {
    display: none !important;
  }
}

@media screen and (max-width: 480px) {
  .hero_slide:first-child.active button#first_slide_explore_btn.first-slide-mobile-btn {
    bottom: -115px !important;
    min-width: 180px !important;
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
  }
  
  .hero_navigation {
    bottom: 50px !important;
  }
}

@media screen and (max-width: 380px) {
  .hero_slide:first-child.active button#first_slide_explore_btn.first-slide-mobile-btn {
    bottom: -115px !important;
    min-width: 160px !important;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
  }
  
  .hero_navigation {
    bottom: 40px !important;
  }
}

@media screen and (max-width: 320px) {
  .hero_slide:first-child.active button#first_slide_explore_btn.first-slide-mobile-btn {
    bottom: -115px !important;
    min-width: 140px !important;
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
  }
  
  .hero_navigation {
    bottom: 30px !important;
  }
}

/* iPhone-specific styles */
@media screen and (device-width: 375px) and (device-height: 667px),
       screen and (device-width: 390px) and (device-height: 844px),
       screen and (device-width: 428px) and (device-height: 926px),
       screen and (device-width: 430px) and (device-height: 932px),
       screen and (device-width: 393px) and (device-height: 852px) {
  .hero_slide:first-child.active button#first_slide_explore_btn.first-slide-mobile-btn {
    bottom: -140px !important;
    min-width: 170px !important;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    left: calc(50% - 10px) !important; /* Adjust for left padding */
  }
  
  .hero_navigation {
    bottom: 40px !important;
  }
  
  .overlap_1 {
    padding: 5% 10px 5% 10px !important;
  }
} 
/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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);
}
