:root {
    --primary-color: #11b981;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

nav {
    background: var(--text-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--bg-white);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background: var(--primary-color);
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    list-style: none;
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 24px;
    cursor: pointer;
    padding: 15px 20px;
}

.mobile-menu-toggle {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.is-open {
    transform: rotate(90deg);
}


/* ---------- hero slider (fixed) ---------- */
.hero-slider {
  position: relative;
  height: 600px;        /* keep your design height */
  overflow: hidden;
}

/* base slide styles: stacked absolute; hidden via opacity */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 0s linear 1s;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* show the active slide (only one visible at a time) */
.slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease-in-out;
  position: absolute;
}



.slide-content {
    text-align: center;
    color: var(--bg-white);
    max-width: 800px;
    padding: 0 20px;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(17,185,129,0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--text-dark);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.industries-section {
    background: var(--bg-light);
}

.industries-slider {
    position: relative;
    overflow: hidden;
}

.industries-track {
    display: flex;
    transition: transform 0.5s ease;
}

.industry-card {
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.industry-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.industry-card h3 {
    color: var(--bg-white);
    font-size: 24px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--text-dark);
}

.slider-arrow.prev {
    left: -25px;
}

.slider-arrow.next {
    right: -25px;
}

.about-section {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.products-section {
    background: var(--bg-light);
}

.products-slider {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.products-track {
    display: flex;
    transition: transform 0.5s ease;
}

.product-card {
    min-width: calc(25% - 20px);
    margin: 0 10px;
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: var(--text-light);
}

.other-products-section {
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-grid-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
}

.product-grid-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.product-grid-card .product-image {
    height: 220px;
}

.product-grid-card .product-info {
    padding: 25px;
}

.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Keep your gradient overlay */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35));
    z-index: 1;
}

/* Keep text above overlay */
.page-hero .container {
    position: relative;
    z-index: 2;
    color: #fff;
}


.page-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
}

.content-section {
    padding: 60px 0;
}

/* Footer - scoped to .site-footer so it won't leak styles to header */
.site-footer {
  background: #ffffff;
  color: #000000;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif; /* safe to put here if footer needs it */
}

.site-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.site-footer .footer-logo h2,
.site-footer .footer-logo p {
  color: #000000;
  margin: 0 0 10px;
  font-weight: normal;
}

.site-footer h3 {
  color: #000000;
  margin-bottom: 15px;
  font-size: 18px;
}

/* scope list styles to footer only */
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  text-decoration: none;
  color: #000000;
  font-size: 14px;
  transition: color 0.3s;
}

.site-footer ul li a:hover {
  color: #11b981;
}

/* contact + social */
.site-footer .footer-contact p {
  margin: 5px 0;
  font-size: 14px;
}

.site-footer .social-icons {
  margin-top: 15px;
}

.site-footer .social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: #000000;
  transition: color 0.3s;
}

.site-footer .social-icons a:hover {
  color: #11b981;
}

/* bottom */
.site-footer .footer-bottom {
  border-top: 1px solid #000000;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #000000;
}

.site-footer .footer-bottom a {
  color: #000000;
  margin: 0 8px;
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer .footer-bottom a:hover {
  color: #11b981;
}

.site-footer .powered {
  margin-top: 10px;
  font-size: 13px;
}

.site-footer .powered span {
  color: #11b981;
  font-weight: bold;
}

/* small responsive tweak (optional) */
@media (max-width:600px){
  .site-footer { padding: 30px 15px; }
  .site-footer .footer-logo img { max-width: 160px; }
}

.site-footer .footer-logo p {
  font-size: 14px;
  line-height: 1.5;
  margin: 5px 0;
}
.site-footer h3 {
  font-size: 30px;
}
.site-footer .footer-bottom p + p {
  margin-top: 12px;   /* adjust to the spacing you want */
}



.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d9668 100%);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .contact-info {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        color: var(--text-dark);
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--text-dark);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    .nav-menu.active {
        max-height: 1000px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    .nav-item.active .dropdown-menu {
        max-height: 1000px;
    }

    .slide h1 {
        font-size: 32px;
    }

    .slide p {
        font-size: 16px;
    }

    .hero-slider {
        height: 400px;
    }

    .industry-card {
        min-width: calc(100% - 20px);
    }

    .product-card {
        min-width: calc(100% - 20px);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .products-slider {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .demo-btn {
        display: none;
    }
}

/* #csserror New Code From here */

/* Header Non Sticky */

/* ---- Make header & subheader NON-sticky ---- */


/* Get a Demo Button — Full height, no gap */
.demo-btn {
    background: #11b981;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    /* NO vertical padding → Let height come from nav */
    padding: 0 22px;

    height: 100%;                    /* match nav height */
    display: flex;                   
    align-items: center;             /* perfect vertical centering */
    justify-content: center;

    border-radius: 0;
    border: none;
    margin-left: 20px;
    transition: 0.2s ease-in-out;
}

.demo-btn:hover {
    background: #0d9e6e;
}

/* Your nav container (keep this) */
nav .nav-container {
    height: 60px;    
    display: flex;
    align-items: center;
}

/* Hero banner Images Sliding */

/* Fix slider background images */
.hero-slider .slide {
    position: relative;
    height: 600px; /* keep your original height */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
}

/* Lighter overlay so image stays visible */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)); /* light, not blackout */
    z-index: 1;
}

/* Left align text (your requirement) */
.slide-content {
    position: absolute;
    top: 50%;
    left: 60px;       /* SHIFT text to the left side */
    transform: translateY(-50%);
    color: #fff;
    max-width: 550px;
    z-index: 2;
}/* cts-fixes.css - added by assistant
   Include this file in your <head> after your main stylesheet:
   <link rel="stylesheet" href="css/cts-fixes.css">
   It contains safe hero slider fixes and submenu positioning without changing theme visuals.
*/

/* HERO SLIDER - show only active slide, ensure background sizing and left-aligned content */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.01s linear 0.6s;
}
.hero-slider .slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease-in-out;
}

/* light overlay so image visible but text readable */
.hero-slider .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.28));
  z-index: 1;
  pointer-events: none;
}

/* slide content left aligned */
.hero-slider .slide-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    max-width: 700px;
    width: 90%;
    color: #fff;
    z-index: 2 !important; /* below header so dropdown appears in front */
}

/* ensure controls/dots stay above slider */
.hero-slider .slider-controls { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display:flex; gap:8px; }
.hero-slider .slider-dot { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.45); display:inline-block; cursor:pointer; }
.hero-slider .slider-dot.active { background: var(--primary-color); }

/* SUBMENU: minimal alignment fix — align submenu to the top-right of the parent dropdown without changing visuals */
.dropdown-menu { position: absolute; top: 100%; left: 0; }
.dropdown-submenu .submenu {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 1200;
  /* keep visual styles untouched - only positioning is handled here */
}

/* Make it safe on small screens: stacked flow */
@media (max-width: 900px) {
  .hero-slider { height: auto; }
  .hero-slider .slide { position: relative; height: auto; }
  .dropdown-submenu .submenu { position: static; left: 0; top: 0; }
}


/* ====== HERO SLIDER FIXES (applied) ======
   - Removed any rule that forced slides to have no background-image.
   - Ensure each .slide uses background-size: cover and background-position: center.
   - Use a light overlay so images remain visible and text remains readable.
   - Position .slide relatively so overlay stacks correctly inside each slide.
   - Ensure .slide.active becomes visible via opacity/visibility.
========================================== */

.hero-slider {
  position: relative;
  overflow: hidden;
  height: 600px;
}

.hero-slider .slide {
  position: relative; /* keep overlay/content positioned inside each slide */
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0s linear 0.6s;
}

.hero-slider .slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease-in-out;
}

/* light overlay so image visible but text readable */
.hero-slider .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.28));
  z-index: 1;
  pointer-events: none;
}

/* slide content left aligned and above overlay */
.hero-slider .slide-content {
  position: absolute;
  z-index: 2;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  color: #fff;
}

/* ensure controls/dots stay above slider */
.hero-slider .slider-controls { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display:flex; gap:8px; }
.hero-slider .slider-dot { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.45); display:inline-block; cursor:pointer; }
.hero-slider .slider-dot.active { background: var(--primary-color); }

/* responsive: stack slides on small screens */
@media (max-width: 900px) {
  .hero-slider { height: auto; }
  .hero-slider .slide { position: relative; height: auto; opacity: 1; visibility: visible; }
  .hero-slider .slide-overlay { position: absolute; }
}

/* force banner text to right temp*/



/* === CTS final overrides (do not remove) === */

/* Remove extra gap above hero slider */
.hero-slider {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

/* Hero slider core behaviour: only active slide visible */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0s linear 0.8s;
}

.hero-slider .slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-in-out;
}

/* Overlay + content layering */
.hero-slider .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35));
    z-index: 1;
}

/* Force hero text back to left side and under the nav dropdown */
.hero-slider .slide-content {
    position: absolute !important;
    top: 50% !important;
    left: 60px !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    text-align: left !important;
    max-width: 550px;
    color: #fff;
    z-index: 2 !important; /* below header (1000) so dropdown appears in front */
}

/* Hero dots on top of image but under dropdown */
.hero-slider .slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

/* Ensure header/nav and dropdown always stay above hero banner */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    position: relative;
    z-index: 1001;
}

.dropdown-menu {
    z-index: 1100;
}

/* Industries slider: make images taller */
.industry-image {
    height: 280px;
}

/* Bring slider arrows fully into view */
.industries-slider .slider-arrow.prev {
    left: 10px;
}
.industries-slider .slider-arrow.next {
    right: 10px;
}
.products-slider .slider-arrow.prev {
    left: 10px;
}
.products-slider .slider-arrow.next {
    right: 10px;
}


/* Final hero text centering */
.hero-slider .slide h1,
.hero-slider .slide p {
    text-align: center;
}

.hero-slider .slide .btn {
    margin: 0 auto;
}

/* Ensure mobile nav always on top & clickable */
nav,
.nav-container,
.nav-menu {
    position: relative;
    z-index: 1500;
}

@media (max-width: 768px) {
    .nav-menu {
        z-index: 1500;
    }
}



/* === Mobile: hide desktop sub-header and provide mobile panel === */
@media (max-width: 768px) {
    /* hide the desktop nav/subheader */
    nav { display: none !important; }

 

    /* Mobile menu panel (full-width slide-down overlay) */
    .mobile-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background: rgba(10,10,10,0.96);
        transform: translateY(-110%);
        transition: transform 0.36s cubic-bezier(.2,.9,.2,1);
        z-index: 1950;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 80px 20px 40px; /* leave space for header */
        box-sizing: border-box;
    }
    .mobile-menu-panel.open {
        transform: translateY(0);
    }
    .mobile-menu-panel .mobile-menu-inner {
        max-width: 960px;
        margin: 0 auto;
        color: #fff;
    }
    .mobile-menu-panel .mobile-menu-inner .nav-menu {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-menu-panel .nav-menu .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .mobile-menu-panel .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 8px;
        color: #fff;
        text-decoration: none;
        font-size: 18px;
    }
    .mobile-menu-panel .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease;
        background: transparent;
        padding-left: 12px;
    }
    .mobile-menu-panel .nav-item.open > .dropdown-menu {
        max-height: 1000px;
    }
    .mobile-menu-panel .dropdown-item {
        display: block;
        padding: 12px 8px 12px 22px;
        color: rgba(255,255,255,0.95);
        text-decoration: none;
        font-size: 16px;
    }

    /* make the mobile toggle prominent */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 26px;
        line-height: 1;
        padding: 10px;
        color: var(--text-dark);
    }

    /* hide header contact info on mobile (already set, but ensure) */
    .contact-info { display: none !important; }
    .demo-btn { display: none !important; }
}


/* === Reference mobile menu styles (injected) === */

/* Reference mobile menu styles (injected) */
/* Mobile Navigation */
.nav-menu-ref {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.nav-menu-ref.active {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .nav-menu-ref {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        transform: none;
        transition: none;
        display: block;
    }
    .nav-menu-ref.active { transform: none; }
}

/* nav list */
.nav-list-ref {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 2rem;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #111;
}

/* toggle */
.nav-toggle-ref {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 10001;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent;
    border: 0;
    align-items: center;
    justify-content: center;
}

.nav-toggle-ref span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
    border-radius: 1px;
    display: block;
}

.nav-toggle-ref.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #11b981;
}
.nav-toggle-ref.active span:nth-child(2) { opacity: 0; }
.nav-toggle-ref.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: #11b981;
}

/* mobile panel inner adjustments */
.nav-menu-ref .nav-list-ref { padding: 24px; max-height: calc(100vh - 160px); overflow:auto; }
.no-scroll { overflow: hidden !important; height: 100vh; }

/* Header Logo */
.logo-img {
    height: 50px;   /* Adjusted to match header height */
    width: auto;    /* Keeps natural width */
    object-fit: contain;
    display: block;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* FINAL OVERRIDE — FORCE HERO BANNER SLIDES TO SMALLER HEIGHT (400px) */
/* Reducing the height of the hero banner in the home page */
.hero-slider {
    height: 435px !important;
}

.hero-slider .slide {
    height: 435px !important;
}

.hero-slider .slide-content {
    height: 435px !important;
}

.hero-slider img {
    height: 435px !important;
    width: 100% !important;
    object-fit: cover !important;
}
/* CTS IN HEADER SIZE DEC */
/* ---------- SAFE MOBILE-ONLY NAV (<=992px) ---------- */
@media (max-width: 992px) {

  /* ensure nav container layout only on mobile */
  nav .nav-container { position: relative; }

  /* show vertical stacked menu on mobile (desktop unaffected) */
  nav .nav-menu {
    display: block !important;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
  }

  /* top-level items stacked */
  nav .nav-menu > .nav-item {
    display: block;
  }

  nav .nav-menu > .nav-item > .nav-link,
  nav .nav-menu > .nav-item > .dropdown-toggle {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 16px 16px;
    font-size:18px;
    color:#111;
    background:#f9f9f9;
    border-top:1px solid #eee;
    text-decoration:none;
    box-sizing:border-box;
  }

  /* dropdowns behave as collapsed blocks in flow (push items below) */
  nav .dropdown-menu {
    display:block !important;
    position: static !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 320ms cubic-bezier(.2,.9,.2,1), padding 220ms;
    padding: 0;
    background:#fff;
    box-sizing:border-box;
  }
  nav .nav-item.open > .dropdown-menu {
    padding:8px 0 14px;
    max-height:1200px;
  }

  nav .dropdown-menu .dropdown-item {
    display:block;
    padding:12px 22px;
    font-size:15px;
    border-bottom:1px solid #f1f1f1;
    color:#333;
    text-decoration:none;
  }

  /* Hamburger button (injected via JS). Hidden on desktop by media query. */
  .mobile-toggle {
    width:44px; height:44px; border:0; background:transparent;
    display:inline-flex; align-items:center; justify-content:center;
    cursor:pointer; position:relative; z-index:1400;
  }
  .mobile-toggle .ln { width:22px; height:2px; background:#111; margin:3px 0; transition:transform 220ms, opacity 180ms; display:block; }
  .mobile-toggle.open .ln.ln1 { transform: translateY(7px) rotate(45deg); }
  .mobile-toggle.open .ln.ln2 { opacity:0; }
  .mobile-toggle.open .ln.ln3 { transform: translateY(-7px) rotate(-45deg); }

  /* small toggle for submenus */
  .mobile-sub-toggle {
    border:0; background:transparent; font-size:20px; cursor:pointer; margin-left:8px;
    display:inline-flex; align-items:center;
  }

  /* accent on hover */
  nav .nav-menu > .nav-item > .nav-link:hover,
  nav .nav-menu > .nav-item > .dropdown-toggle:hover,
  nav .dropdown-menu .dropdown-item:hover,
  nav .nav-item.open > .nav-link {
    color: #11b981;
  }

}
/* Mobile: reduce header logo size only */
@media (max-width: 480px) {
    .logo {
        font-size: 16px !important;    /* adjust this value to taste: 14px / 18px etc */
        line-height: 1.1 !important;
        white-space: nowrap;           /* keep it on one line */
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .logo span {
        font-size: inherit !important; /* keeps the span consistent with .logo */
    }
}
/* Make header sticky only on mobile */
@media (max-width: 768px) {
    .top-bar {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 9999;
        background: #fff;
        padding: 10px 15px;
    }
}
/* === Mobile: force header fixed and avoid overlaps === */
@media (max-width: 768px) {
  /* Set a stable header height via CSS variable for easy changes */
  :root { --mobile-header-h: 60px; } /* adjust if you want taller/shorter */

  /* Make the header fixed to the top */
  header,
  .header-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: var(--mobile-header-h) !important;
    z-index: 99999 !important;
    background: #fff !important;               /* ensures content under won't show through */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    -webkit-backdrop-filter: blur(6px);        /* optional visual polish */
    backdrop-filter: blur(6px);
  }

  /* Ensure the inner container vertically centers within fixed header */
  .header-top .container,
  .header-inner {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Adjust logo size slightly for mobile if needed (optional) */
  .logo { font-size: 16px !important; line-height: 1 !important; white-space: nowrap; }

  /* Prevent page content from being hidden under the fixed header */
  /* If your main content wrapper is <main> or .main-content use that selector instead.
     Using body as fallback covers all pages. */
  body, main, .page-content {
    padding-top: var(--mobile-header-h) !important;
  }

  /* If your site toggles a no-scroll class on body when nav is open,
     make sure padding remains applied while nav is active too */
  body.no-scroll, .no-scroll {
    padding-top: var(--mobile-header-h) !important;
  }

  /* If your mobile menu panel covers the whole viewport, give it lower z-index
     so header (with z-index:99999) stays on top. Adjust selector to your menu panel. */
  .nav-menu, .mobile-menu-panel, .nav-menu-ref, .mobile-menu {
    z-index: 9990 !important;
  }
}
/* MOBILE: small safe helpers for submenu accordion (minimal) */
@media (max-width: 768px) {
  /* Make sure submenu is in flow and animates via max-height */
  .nav-item > .dropdown-menu,
  .nav-item > .submenu {
    position: static !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease;
    padding-left: 10px;
  }
  .nav-item.open > .dropdown-menu,
  .nav-item.open > .submenu {
    max-height: 1500px; /* fallback if JS doesn't set explicit height */
  }

  /* Ensure nav container scrolls if content overflows */
  .nav-menu, .nav-menu-ref, .mobile-menu, .mobile-menu-panel {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== Product Overview slider + layout ===== */
:root {
  --product-image-h: 320px; /* change to match About image height if needed */
}

.product-overview .overview-grid {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

/* left column - slider */
.product-overview .overview-image {
  flex: 1 1 46%;
  min-width: 260px;
}

/* slider container */
.product-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-light);
  box-shadow: var(--shadow);
}

/* slides row */
.product-slider .slides {
  display: flex;
  transition: transform 420ms cubic-bezier(.22,.9,.3,1);
  will-change: transform;
}

/* each slide occupies full slider width */
.product-slider .slide {
  min-width: 100%;
  flex: 0 0 100%;
}

/* image sizing (match About) */
.product-slider img,
.overview-image img {
  width: 100%;
  height: var(--product-image-h);
  object-fit: cover;
  display: block;
}

/* right column - text */
.product-overview .overview-text {
  flex: 1 1 54%;
}

/* keep existing features-grid styling, but ensure responsive columns */
.product-overview .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

/* slider controls */
.product-slider .slider-prev,
.product-slider .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-slider .slider-prev { left: 10px; }
.product-slider .slider-next { right: 10px; }

/* dots */
.product-slider .slider-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.product-slider .slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
}
.product-slider .slider-dots button.active {
  width: 10px;
  height: 10px;
  background: var(--primary-color);
}

/* MOBILE: stack and show text first */
@media (max-width: 768px) {
  .product-overview .overview-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  /* force text first */
  .product-overview .overview-text { order: 1; }
  .product-overview .overview-image { order: 2; width: 100%; }

  /* smaller image height */
  :root { --product-image-h: 220px; }
  .product-slider img,
  .overview-image img { height: var(--product-image-h); }

  /* tighten features grid vertical spacing on mobile */
  .product-overview .features-grid {
    grid-template-columns: 1fr;
  }
}
.product-section {
    padding: 60px 0;
}

.product-section-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.product-section-image img {
    width: 400%;
    max-width: 500px;
    border-radius: 10px;
}

.product-section-text {
    flex: 1;
}

@media (max-width: 768px) {
    .product-section-content {
        flex-direction: column;
        text-align: left;
    }

    .product-section-image img {
        max-width: 100%;
    }
}
