 /* start about us */
 :root {
     --primary: #52b347;
     --secondary: #00a0e1;
     --secondary-dark: #0e4e91;
     --accent: #ff6b00;
     --primary-dark: #2a7e19;
     --primary-dark-darker: #00800099;
     ;
     /* --primary-dark-darker: #027c02; */
     --primary-light: #e8f5e6;
     --primary-extra-light: #f2f9f1;
     --light: #f8f9fa;
     --dark: #212529;
 }

 html,
 body {
     overflow-x: hidden;
     width: 100%;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }



 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* Header */
 .hero {
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     color: white;
     padding: 100px 0;
     text-align: center;
     position: relative;
     overflow: hidden;
 }

 .hero-bg-image {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     /* Equivalent to background-size: cover */
     object-position: center center;
     /* Equivalent to background-position: center center */
     opacity: 0.15;
     z-index: 0;
     /* Ensure it stays behind content */
     pointer-events: none;
     /* Makes it non-interactive like a pseudo-element */
 }

 .hero::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     /* background: url('../img/about_us/about-us-1.webp') no-repeat center center/cover; */
     opacity: 0.15;
 }

 .hero h1 {
     font-size: 3.5rem;
     margin-bottom: 20px;
     position: relative;
     color: var(--light);
 }

 .hero p {
     font-size: 1.5rem;
     max-width: 800px;
     margin: 0 auto 30px;
     position: relative;
     color: var(--light);
 }

 .hero .tagline {
     font-size: 1.8rem;
     font-weight: 300;
     font-style: italic;
     color: rgba(255, 255, 255, 0.9);
 }

 /* About Sections */
 .about-section {
     padding: 80px 0;
 }

 .about-section:nth-child(even) {
     background-color: white;
 }

 .section-header {
     text-align: center;
     margin-bottom: 60px;
 }

 .section-header h2 {
     font-size: 2.5rem;
     color: var(--primary);
     margin-bottom: 15px;
     position: relative;
     display: inline-block;
 }

 .section-header h2::after {
     content: "";
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 4px;
     background: var(--accent);
 }

 .section-content {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 40px;
 }

 .section-text {
     flex: 1;
     min-width: 300px;
 }

 .section-image {
     flex: 1;
     min-width: 300px;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 }

 .section-image img {
     width: 100%;
     height: auto;
     display: block;
 }

 /* Quality Badges */
 .quality-badges {
     display: flex;
     justify-content: center;
     gap: 30px;
     flex-wrap: wrap;
     margin-top: 30px;
 }

 .badge1 {
     width: 120px;
     height: 120px;
     background: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     padding: 15px;
 }

 .badge1 img {
     max-width: 100%;
     max-height: 100%;
 }

 /* Products */
 .products-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     margin-top: 40px;
 }

 .product-card {
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease;
     min-height: 410px;
 }

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

 .product-image {
     height: 200px;
     background-size: cover;
     background-position: center;
 }

 .product-content {
     padding: 20px;
 }

 .product-content h3 {
     color: var(--primary);
     margin-bottom: 10px;
 }

 /* Footer */
 .page-footer {
     background: var(--dark);
     color: white;
     padding: 60px 0;
     text-align: center;
 }

 .footer-tagline {
     font-size: 2rem;
     font-style: italic;
     margin-bottom: 30px;
     color: var(--accent);
 }

 @media (max-width: 768px) {
     .hero h1 {
         font-size: 2.5rem;
     }

     .hero p {
         font-size: 1.2rem;
     }

     .section-content {
         flex-direction: column;
     }

     .section-image {
         order: -1;
     }
 }

 /* Remove these styles that were for the div background */
 /*
.product-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}
*/

 /* New styles for the img tag */
 .product-image {
     width: 100%;
     height: 200px;
     object-fit: cover;
     /* replicates background-size: cover */
     border-radius: 10px 10px 0 0;
     /* if you want rounded corners just on top */
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* Mission & Vision Section */
 .mission-vision-section {
     padding: 50px 0;
 }

 .section-header {
     text-align: center;
     margin-bottom: 60px;
 }

 .section-header h2 {
     font-size: 2.5rem;
     color: var(--primary);
     margin-bottom: 15px;
     position: relative;
     display: inline-block;
 }

 .section-header h2::after {
     content: "";
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 4px;
     background: var(--accent);
 }

 .mission-vision-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 40px;
     align-items: center;
 }

 .mission-card,
 .vision-card {
     padding: 40px;
     border-radius: 15px;
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
     height: 100%;
     display: flex;
     flex-direction: column;
 }

 .mission-card {
     border-top: 5px solid var(--primary);
     background: linear-gradient(to bottom right, white, var(--primary-light));
 }

 .vision-card {
     border-top: 5px solid var(--secondary-dark);
     background: linear-gradient(to bottom right, white, #e8f2f8);
 }

 .mission-vision-title {
     font-size: 1.8rem;
     margin-bottom: 20px;
     color: var(--primary);
 }

 .vision-card .mission-vision-title {
     color: var(--secondary-dark);
 }

 .mission-vision-content {
     font-size: 1.1rem;
     line-height: 1.8;
     color: #555;
     margin-bottom: 30px;
     flex-grow: 1;
 }

 .mission-image,
 .vision-image {
     height: 250px;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .mission-image img,
 .vision-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s ease;
 }

 .mission-image:hover img,
 .vision-image:hover img {
     transform: scale(1.05);
 }

 @media (max-width: 768px) {
     .mission-vision-grid {
         grid-template-columns: 1fr;
     }

     .section-header h2 {
         font-size: 2rem;
     }
 }

 /* start core value */


 .column {
     flex: 1 1 300px;
     padding: 10px;
 }

 .value-box {
     background: #e9ecef;
     padding: 15px;
     border-left: 5px solid;
     border-radius: 4px;
     margin-bottom: 20px;
 }

 .value-box-1 {
     border-color: #6f42c1 !important;
     background: #e9ecef;
     padding: 15px;
     border-left: 5px solid;
     border-radius: 4px;
     margin-bottom: 20px;
 }

 .value-box-2 {
     border-color: #17a2b8 !important;
     background: #e9ecef;
     padding: 15px;
     border-left: 5px solid;
     border-radius: 4px;
     margin-bottom: 20px;
 }

 .value-box-3 {
     border-color: #ffc107 !important;
     background: #e9ecef;
     padding: 15px;
     border-left: 5px solid;
     border-radius: 4px;
     margin-bottom: 20px;
 }

 .value-box-4 {
     border-color: #007bff !important;
     background: #e9ecef;
     padding: 15px;
     border-left: 5px solid;
     border-radius: 4px;
     margin-bottom: 20px;
 }

 .value-box-5 {
     border-color: #28a745 !important;
     background: #e9ecef;
     padding: 15px;
     border-left: 5px solid;
     border-radius: 4px;
     margin-bottom: 20px;
 }

 .diagram {
     position: relative;
     width: 300px;
     height: 300px;
     border-radius: 50%;
     background: conic-gradient(#007bff 0deg 72deg,
             #28a745 72deg 144deg,
             #ffc107 144deg 216deg,
             #17a2b8 216deg 288deg,
             #6f42c1 288deg 360deg);
     margin: 40px auto;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .diagram-text {
     background: white;
     width: 140px;
     height: 140px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: bold;
     text-align: center;
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 }

 .icon-overlay {
     position: absolute;
     font-size: 16px;
     color: white;
     text-align: center;
     width: 80px;
     line-height: 1.2;
 }

 .icon-overlay span {
     display: block;
     font-size: 24px;
     margin-bottom: 4px;
 }

 .icon-1 {
     top: 42%;
     left: 42%;
     transform: translateX(-50%);
     transform: rotate(-40deg) translateY(-130px);
 }

 .icon-2 {
     top: 50%;
     right: 40%;
     transform: translateY(-50%);
     transform: rotate(32deg) translateY(-138px);
 }

 .icon-3 {
     bottom: 11%;
     right: -33%;
     transform: rotate(-65deg) translateY(-130px);
 }

 .icon-4 {
     bottom: -37%;
     left: 35%;
     transform: rotate(1deg) translateY(-130px);
 }

 .icon-5 {
     top: 69%;
     left: -36%;
     transform: translateY(-50% -50%);
     transform: rotate(68deg) translateY(-130px);
 }

 @media (max-width: 768px) {
     .container {
         flex-direction: column;
         align-items: center;
     }

     .diagram {
         order: -1;
     }
 }

 .center-element {
     position: absolute;
     width: 8em;
     height: 8em;
     background: white;
     border-radius: 50%;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     z-index: 2;
     transition: all 0.5s ease;
     border: 5px solid var(--primary-light);
 }

 @keyframes pulse {

     0%,
     100% {
         transform: translate(-50%, -50%) scale(1);
         opacity: 0.7;
     }

     50% {
         transform: translate(-50%, -50%) scale(1.05);
         opacity: 1;
     }
 }

 .center-element:hover {
     transform: translate(-50%, -50%) scale(1.1);
     box-shadow: 0 15px 40px rgba(51, 152, 31, 0.2);
 }

 .center-title {
     font-size: 1.8rem;
     font-weight: 700;
     color: var(--secondary-dark);
     margin-bottom: 5px;
     animation: colorPulse 6s infinite;
 }

 .container-key-value {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     align-items: center;
     max-width: 1200px;
     margin: auto;
 }

 /* end core value */

 /* start certificates */
 .container-certificate {
     max-width: 1200px;
     margin: 0 auto;
     padding: 40px 20px;
     background-color: white;
     border-radius: 10px;
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
     margin-bottom: 20px;
 }

 .certificate-section {
     display: flex;
     flex-wrap: wrap;
     gap: 40px;
     align-items: center;
 }

 .title-sertificate {
     color: #0f4f91;
 }

 .text-content {
     flex: 1;
     min-width: 300px;
 }

 h1 {
     color: #2c3e50;
     margin-bottom: 20px;
     font-size: 28px;
     position: relative;
     padding-bottom: 10px;
 }

 /* h1::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 60px;
     height: 3px;

 } */

 p {
     margin-bottom: 15px;
     color: #555;
 }

 .certificate-images {
     flex: 1;
     min-width: 300px;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 20px;
 }

 .certificate-img-container {
     position: relative;
     overflow: hidden;
     border-radius: 8px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease;
     height: 300px;

 }

 .certificate-img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     transition: transform 0.5s ease;



 }

 .certificate-img-container:hover .certificate-img {
     transform: scale(1.05);
 }

 .certificate-label {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: rgba(0, 0, 0, 0.7);
     color: white;
     padding: 10px;
     text-align: center;
     font-weight: bold;
     transform: translateY(100%);
     transition: transform 0.3s ease;
 }

 .certificate-img-container:hover .certificate-label {
     transform: translateY(0);
 }

 @media (max-width: 768px) {
     .certificate-images {
         grid-template-columns: 1fr;
     }


 }

 .image-container {
     width: 300px;

     height: 300px;

     overflow: hidden;
     /* Hide overflow to prevent image from spilling out */
     border-radius: 10px;
     /* Optional: rounded corners */
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
     /* Optional: shadow effect */
     position: relative;
     /* Position relative for absolute positioning of the image */
 }

 .zoom-image {
     width: 100%;
     /* Make the image responsive */
     height: 100%;
     /* Make the image responsive */
     object-fit: cover;
     /* Cover the container while maintaining aspect ratio */
     transition: transform 0.3s ease;
     /* Smooth transition for the zoom effect */
 }

 .image-container:hover .zoom-image {
     transform: scale(1.1);
     /* Scale the image on hover */
 }

 /* end certificates */
 /* end  about us */
 .tawk-min-container {
     position: relative;
     animation: shake-combo 3s infinite;
 }

 @keyframes shake-combo {

     /* First 2 seconds: left-right shake */
     0%,
     33% {
         animation-timing-function: ease-in-out;
         transform: translateX(0);
     }

     16.5% {
         transform: translateX(-8px);
     }

     33% {
         transform: translateX(8px);
     }

     /* Next 1 second: up-down shake */
     34% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-6px);
     }

     66% {
         transform: translateY(6px);
     }

     100% {
         transform: translateY(0);
     }
 }

 /* Desktop submenu → float right */
 .dropdown-submenu .dropdown-menu {
     top: 0;
     left: 100%;
     margin-left: .1rem;
     margin-right: .1rem;
 }

 /* On mobile (max-width: 768px) → drop down instead */
 @media (max-width: 768px) {
     .dropdown-submenu .dropdown-menu {
         position: relative;
         top: 0;
         left: 0;
         margin: 0;
         display: none;
         /* hidden until click */
     }

     .dropdown-submenu.show>.dropdown-menu {
         display: block;
     }
 }

 /* Make sure all dropdowns float above navbar */
 .navbar .dropdown-menu {
     z-index: 1050;
     /* base level (Bootstrap modal backdrop starts at 1040) */
 }

 /* Products dropdown (higher priority) */
 .navbar .nav-item.dropdown .dropdown-menu {
     z-index: 11000 !important;
 }

 /* Submenus inside Products */
 .navbar .dropdown-submenu .dropdown-menu {
     z-index: 11500 !important;
 }

 /* Language dropdown */
 #languageDropdown+.dropdown-menu {
     z-index: 1000 !important;
     /* make sure language always stays above others */
 }

 #near2 {
     margin-top: -20%;
     margin-right: -15%;
     z-index: 1100 !important;
 }

/* Base dropdowns */
.navbar .dropdown-menu {
  position: absolute; /* keep menus attached to parent */
  top: 100%;
  left: 0;
  z-index: 1000; /* default */
}


/* Submenus inside Products */
#near2 .dropdown-submenu .dropdown-menu {
  z-index: 1150 !important;
}

/* Language dropdown behind */
/* Language dropdown should not create extra space */
#languageDropdown + .dropdown-menu {
    position: absolute !important; /* remove from document flow */
    top: 100%;                     /* below the button */
    right: 0;                       /* align to right */
    width: auto;                     /* natural width */
    z-index: 1050 !important;       /* behind Products */
}
/* Mobile: dropdowns stack naturally */
@media (max-width: 991.98px) {
    #near2, #near2 .dropdown-submenu .dropdown-menu {
        position: absolute; /* keep them attached */
        top: auto;
        left: 0;
        width: 100%; /* full width for mobile */
        z-index: 1100;
    }
}
/* for model download size */
.modal-super-lg{
    max-width: 1140px;
}
