@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700;800&display=swap');

:root {
    --primary: #2e8b57; /* seagreen */
    --primary-dark: #1f6a3d;
    --primary-light: #3cb371;
    --secondary: #1a3e72;
    --accent: #ff7f50; /* coral */
    --light: #f4f7f6; /* slightly tinted off-white for premium feel */
    --dark: #212529;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 20px 40px rgba(46, 139, 87, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

/* Deployed-style header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 5%;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    padding: 14px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    height: 80px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 52px;
}

/* Navigation Styles */
.menu {
    display: flex;
    align-items: center;
}

.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 4px;
}

.menu ul li {
    position: relative;
}

.menu ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 0.2px;
    padding: 14px 22px;
    border-radius: 6px;
    transition: var(--transition);
    display: block;
    white-space: nowrap;
}

.menu ul li a:hover,
.menu ul li a.active {
    color: var(--primary);
}

/* Menu toggle on hero pages - keep BLACK for visibility on white header */
.hero-page header .menu-toggle span {
    background-color: #000000;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 320px;
    border-radius: 14px;
    box-shadow: var(--shadow-hover);
    padding: 14px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border: 1px solid var(--gray-light);
}

.menu ul li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0 !important;
    display: block;
}

.dropdown-menu li a {
    padding: 14px 26px !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
}

.dropdown-menu li a:hover {
    background: var(--light) !important;
    padding-left: 32px !important;
}

/* Mobile Menu Toggle */
.menu-toggle,
button.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0;
}

.menu-toggle span,
button.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Premium Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), #ff6347);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 127, 80, 0.4);
    color: var(--white);
}

.cta-button:hover::after {
    left: 100%;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--primary-light);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--white);
    box-shadow: var(--shadow-hover);
}

/* Common Section Styles */
main {
    padding-top: 100px;
    min-height: calc(100vh - 160px);
}

section {
    padding: 100px 5%;
}

/* Hero layout */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 140px 5% 90px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.06), rgba(46, 139, 87, 0.12));
}

.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--primary-dark);
    margin-bottom: 18px;
    letter-spacing: -0.6px;
}

.hero-content p {
    max-width: 820px;
    margin: 0 auto 30px;
    color: var(--gray);
    font-size: 1.1rem;
}

.hero-content .cta-button {
    margin-bottom: 26px;
}

.hero-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.home-hero {
    min-height: 72vh;
    background: #2e8b57;
    padding: 150px 5% 120px;
}

.home-hero .hero-content h1,
.home-hero .hero-content p {
    color: var(--white);
}

.home-hero .hero-content p {
    opacity: 0.95;
}

.home-hero .hero-showcase {
    display: none;
}

.equipment-hero {
    min-height: 62vh;
    background: #2e8b57 !important;
}

.equipment-hero .hero-content h1,
.equipment-hero .hero-content p {
    color: var(--white) !important;
}

.equipment-hero .hero-content p {
    opacity: 0.92;
}

/* Shared grid cards */
.services-container,
.products-container,
.contact-container,
.logo-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service,
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.service:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-img {
    height: 210px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service:hover .service-img img,
.service-card:hover .service-img img {
    transform: scale(1.06);
}

.service-icon {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.service-content {
    padding: 26px 24px;
}

.service-content h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--gray);
    margin-bottom: 0;
}

/* About page */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 36px 32px;
}

.about-card h3 {
    color: var(--primary-dark);
    font-size: 1.9rem;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

.about-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.about-card p {
    color: var(--gray);
    margin-bottom: 16px;
}

.about-card ul {
    color: var(--gray);
    margin-left: 20px;
    line-height: 1.8;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.about .partner-logo {
    width: 100%;
    height: 70px;
    object-fit: contain;
    padding: 10px;
    background: #fafcfa;
    border: 1px solid #e2ebe6;
    border-radius: 10px;
}

/* FAQ stability */
.faq-item.animate-on-scroll {
    opacity: 1;
    transform: none;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.product-item {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(46, 139, 87, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.product-item h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-item p {
    color: var(--gray);
    font-size: 0.94rem;
    margin: 0;
}

/* Contact page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 35px;
    align-items: start;
}

.contact-info,
.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.contact-text h4 {
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.contact-text a,
.contact-text p {
    margin: 0;
    color: var(--gray);
    text-decoration: none;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    border: 1px solid #d9e1dd;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fcfdfc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.14);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 13px 18px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.map-container {
    max-width: 1250px;
    margin: 45px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-light);
}

.map-container iframe {
    width: 100%;
    display: block;
    min-height: 380px;
}

/* Partner logos */
.logo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 26px;
}

.partner-logo {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 14px;
    padding: 18px 14px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.partner-logo img {
    max-width: 100%;
    height: 62px;
    object-fit: contain;
}

/* Team-page fallback nav */
body > nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-light);
}

body > nav .nav-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body > nav .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

body > nav .nav-links a {
    color: var(--dark);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

body > nav .nav-links a:hover,
body > nav .nav-links a.active {
    color: var(--primary);
    background: rgba(46, 139, 87, 0.08);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    margin: 20px auto 0;
    border-radius: 4px;
}

/* Premium Card UI */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1250px;
    margin: 0 auto;
}

.premium-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-light);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(46, 139, 87, 0.1);
}

.card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-card:hover .card-img img {
    transform: scale(1.08); /* Slow luxury zoom */
}

.card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.card-content p {
    color: var(--gray);
    margin-bottom: 25px;
    flex: 1;
    font-size: 0.95rem;
}

/* Homepage Premium Partners & Clients */
.partners-premium-section {
    background: var(--white);
    padding: 100px 5%;
}

.clients-premium-section {
    background: linear-gradient(135deg, #f8fafb 0%, #eef3f7 100%);
    padding: 100px 5%;
}

.premium-section-head {
    text-align: center;
    margin: 0 auto 20px;
}

.premium-section-head h2 {
    color: var(--primary-dark);
}

.premium-section-head p {
    color: #666;
    max-width: 760px;
    margin: 15px auto 0;
    font-size: 1.08rem;
    line-height: 1.75;
}

.premium-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 139, 87, 0.1);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.partner-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.partner-showcase-card {
    background: linear-gradient(145deg, #ffffff, #f7fbf9);
    border: 1px solid rgba(46, 139, 87, 0.12);
    border-radius: 16px;
    padding: 20px 16px 16px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 32px rgba(46, 139, 87, 0.14);
    border-color: rgba(46, 139, 87, 0.28);
}

.partner-showcase-logo {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.partner-showcase-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0.35);
    transition: var(--transition);
}

.partner-showcase-card:hover .partner-showcase-logo img {
    filter: grayscale(0);
    transform: scale(1.04);
}

.partner-showcase-card p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.45;
}

.client-marquee {
    position: relative;
    max-width: 1400px;
    margin: 50px auto 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.client-marquee-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: max-content;
    animation: clientMarquee 42s linear infinite;
}

.client-marquee:hover .client-marquee-track {
    animation-play-state: paused;
}

.client-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    max-width: 1400px;
    margin: 50px auto 0;
}

.client-trust-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px 14px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 165px;
    width: 180px;
    flex: 0 0 180px;
    text-align: center;
}

.client-trust-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(46, 139, 87, 0.14);
    border-color: rgba(46, 139, 87, 0.2);
}

.client-logo-wrap {
    width: 100px;
    height: 100px;
    min-width: 100px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(46, 139, 87, 0.15);
    box-shadow: 0 4px 14px rgba(46, 139, 87, 0.1), inset 0 0 0 4px rgba(46, 139, 87, 0.05);
}

.client-logo-wrap img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    padding: 0;
    border-radius: 50%;
    display: block;
    background: transparent;
}

.client-card-content h4 {
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 0;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes clientMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 9px));
    }
}

/* Read More Link / Button */
.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    margin-top: auto;
}

.read-more i {
    margin-left: 8px;
    transition: var(--transition);
    font-size: 0.85em;
}

.read-more:hover {
    color: var(--accent);
}

.read-more:hover i {
    transform: translateX(6px);
}

/* Chatbot Styles */
#chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

.chatbot-toggler {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-strong);
    transition: var(--transition);
    font-size: 1.5rem;
    border: none;
}

.chatbot-toggler:hover {
    transform: scale(1.1) rotate(5deg);
}

.chatbot-toggler .fa-times {
    display: none;
}
.chatbot-toggler.open .fa-comment-dots {
    display: none;
}
.chatbot-toggler.open .fa-times {
    display: block;
}

.chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: bottom right;
    border: 1px solid var(--gray-light);
}

.chatbot-container.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.chatbot-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.chatbot-header p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
}

.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fcfcfc;
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease-out;
}

.chat-msg.bot {
    background: var(--light);
    color: var(--dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--gray-light);
}

.chat-msg.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.chat-option-btn {
    background: white;
    border: 1px solid var(--primary-light);
    color: var(--primary);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 0.85rem;
    transition: var(--transition);
    font-family: inherit;
}

.chat-option-btn:hover {
    background: var(--primary-light);
    color: white;
}

/* Chatbot Input Field */
.chat-input-wrapper {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-light);
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.chat-send-btn {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 15px 20px !important;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Chatbot Footer Input */
.chatbot-footer {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-top: 1px solid var(--gray-light);
    border-radius: 0 0 16px 16px;
}

.chatbot-footer input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 25px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.chatbot-footer input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.chatbot-footer button {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chatbot-footer button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* General Footer (shared) */
footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 60px 5% 30px;
    font-size: 0.95rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1250px;
    margin: 0 auto;
}
.footer-column h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: var(--accent);
}
.footer-links li {
    margin-bottom: 12px;
    list-style: none; /* Add this line to remove bullet points */
}
.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
    opacity: 1;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsiveness */

/* Desktop: Show full menu, hide hamburger */
@media (min-width: 992px) {
    .menu ul {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        flex-direction: row !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .menu-toggle,
    button.menu-toggle {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .section-title h2 { font-size: 2.3rem; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    /* Show hamburger menu on mobile */
    .menu-toggle { 
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        z-index: 1100;
        position: relative;
        margin-left: 12px;
    }
    
    /* Hamburger lines - BLACK for visibility */
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #000000 !important;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Hide desktop menu on mobile */
    .menu ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1049;
        padding: 50px 0;
    }
    
    .menu ul.active { 
        right: 0; 
    }
    
    .menu ul li a {
        color: var(--dark) !important;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--light);
        margin-top: 10px;
        display: none;
    }
    .menu ul li:hover .dropdown-menu,
    .menu ul li.active .dropdown-menu {
        display: block;
    }
    .card-grid { grid-template-columns: 1fr; }
    .services-container,
    .products-container { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    
    /* Hero section mobile - more top padding for header + ISO badge */
    .hero { 
        min-height: auto; 
        padding: 160px 5% 70px; 
    }
    
    .hero-showcase { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 2rem; }
    #chatbot-widget {
        bottom: 20px;
        right: 20px;
    }
    .chatbot-container {
        width: calc(100vw - 40px);
        right: 0;
        bottom: 70px;
    }
    
    /* Hero mobile adjustments */
    .about-hero h1,
    .contact-hero h1,
    .services-hero h1,
    .products-hero h1,
    .team-hero-content h1,
    .faq-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero,
    .contact-hero,
    .services-hero,
    .products-hero,
    .team-hero,
    .faq-hero {
        padding: 120px 5% 80px;
        min-height: auto;
    }
}

.partner-caption {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 5px;
    font-weight: 500;
}

/* ===== PREMIUM ABOUT PAGE ===== */
.about-hero {
    padding: 150px 5% 100px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.95), rgba(46, 139, 87, 0.85)),
        url('https://images.unsplash.com/photo-1582719508461-905c673771fd?q=80&w=1200&auto=format&fit=crop') center/cover;
    color: white;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.about-main {
    padding-top: 0;
}

.about-section {
    padding: 80px 5%;
}

.about-section.alt-bg {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse > * {
    direction: ltr;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    border-radius: 4px;
}

.about-text p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 1.02rem;
}

.check-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 4px;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(46, 139, 87, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

.expertise-card h3 {
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.expertise-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-item {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.partner-item img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 12px;
}

.partner-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
}

/* Stats Section */
.about-stats {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 100%;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive About */
@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-grid.reverse {
        direction: ltr;
    }
    .about-image img {
        height: 300px;
    }
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-stats {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stat-number {
        font-size: 2.5rem;
    }

    .partners-premium-section,
    .clients-premium-section {
        padding: 80px 5%;
    }

    .partner-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-top: 35px;
    }

    .partner-showcase-card {
        min-height: 138px;
        padding: 16px 12px;
    }

    .client-marquee {
        margin-top: 35px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .client-marquee-track {
        gap: 12px;
        animation-duration: 34s;
    }

    .client-logo-wrap {
        width: 84px;
        height: 84px;
        min-width: 84px;
    }

    .client-trust-card {
        width: 150px;
        flex-basis: 150px;
        min-height: 145px;
        padding: 16px 10px;
    }

    .client-card-content h4 {
        font-size: 0.8rem;
        letter-spacing: 0.06em;
    }

    .partner-showcase-logo {
        height: 62px;
    }
}

/* ===== PREMIUM CONTACT PAGE ===== */
.contact-hero {
    padding: 150px 5% 100px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.95), rgba(46, 139, 87, 0.85)),
        url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?q=80&w=1200&auto=format&fit=crop') center/cover;
    color: white;
    text-align: center;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PREMIUM SERVICE CARDS WITH IMAGES ===== */
.service-card .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Hero */
.services-hero {
    padding: 150px 5% 100px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.95), rgba(46, 139, 87, 0.85)),
        url('https://images.unsplash.com/photo-1576671081837-49000212a370?q=80&w=1200&auto=format&fit=crop') center/cover;
    color: white;
    text-align: center;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Products Hero */
.products-hero {
    padding: 150px 5% 100px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.95), rgba(46, 139, 87, 0.85)),
        url('https://images.unsplash.com/photo-1581093450021-4a7360e9a6b5?q=80&w=1200&auto=format&fit=crop') center/cover;
    color: white;
    text-align: center;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.products-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ====================================================
   2026 PREMIUM ANIMATIONS & EFFECTS
   Modern Website Enhancements
==================================================== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    width: 0;
    transition: width 0.1s linear;
}

/* Custom Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    background: rgba(255, 127, 80, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1040;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.5);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float-up 15s infinite linear;
}

@keyframes float-up {
    0% {
        bottom: -50px;
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

/* Gradient Animation on Heroes */
.gradient-animate {
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Advanced Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
}

.fade-up {
    transform: translateY(60px);
}

.fade-up.visible {
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in-left {
    transform: translateX(-80px);
}

.slide-in-left.visible {
    transform: translateX(0);
}

.slide-in-right {
    transform: translateX(80px);
}

.slide-in-right.visible {
    transform: translateX(0);
}

.scale-in {
    transform: scale(0.8);
}

.scale-in.visible {
    transform: scale(1);
}

/* Hero Content Animation */
.hero-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Card 3D Effects */
.premium-card,
.service-card,
.team-card,
.expertise-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Card Stagger Animation Delay */
.premium-card,
.service-card,
.team-card {
    transition-delay: var(--delay, 0s);
}

/* Glassmorphism Enhancement */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Underline */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* Pulse Effect */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* Glow Effect on Hover */
.glow-hover:hover {
    box-shadow: 0 0 30px rgba(46, 139, 87, 0.4),
                0 0 60px rgba(46, 139, 87, 0.2);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-close:hover {
    transform: scale(1.2);
}

/* Premium Badge */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

/* Counter Animation Enhancement */
.stat-number {
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

/* Image Hover Effects */
.image-zoom {
    overflow: hidden;
    border-radius: 16px;
}

.image-zoom img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-zoom:hover img {
    transform: scale(1.1);
}

/* Reveal Animation */
.reveal-container {
    overflow: hidden;
}

.reveal-content {
    transform: translateY(100%);
    animation: reveal 0.8s forwards;
}

@keyframes reveal {
    to {
        transform: translateY(0);
    }
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--primary);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink 0.7s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary); }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

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

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Bounce Animation */
.bounce {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Fade Slide Multiple Directions */
.fade-up-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up-stagger 0.6s ease forwards;
}

.fade-up-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.fade-up-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.fade-up-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.fade-up-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.fade-up-stagger > *:nth-child(5) { animation-delay: 0.5s; }
.fade-up-stagger > *:nth-child(6) { animation-delay: 0.6s; }

@keyframes fade-up-stagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Shine Effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.card-shine:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* Neon Glow */
.neon-glow {
    text-shadow: 
        0 0 5px var(--primary),
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 40px var(--primary);
}

/* Smooth Image Loading
   NOTE: Keep lazy images visible by default. Some pages use native lazy-loading
   without JS class toggling, which previously left images permanently hidden. */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.5s ease;
}

img.loaded,
img[loading="lazy"].loaded {
    opacity: 1;
}

/* Enhanced Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(46, 139, 87, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .service-content {
    position: relative;
    z-index: 2;
}

/* Premium Section Dividers */
.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 20px auto;
    border-radius: 2px;
}

/* Enhanced Section Titles */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Premium Image Overlay */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(46, 139, 87, 0.1) 50%, 
        rgba(46, 139, 87, 0.3) 100%
    );
    pointer-events: none;
}

/* Animated Border */
.animated-border {
    position: relative;
    border: none;
}

.animated-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: border-animation 3s linear infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes border-animation {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Icon Bounce */
.icon-bounce {
    display: inline-block;
    transition: transform 0.3s ease;
}

.icon-bounce:hover {
    animation: icon-bounce 0.5s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-5px); }
}

/* Smooth body load */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Menu Animation Lock */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   PREMIUM HERO VIDEO BACKGROUND - 2026
======================================== */
.video-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    /* Fallback background in case video doesn't load */
    background: linear-gradient(135deg, #2e8b57 0%, #1f6a3d 50%, #1a3e72 100%);
}

.video-hero .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6) saturate(1.2);
    animation: slowZoom 30s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1.2); }
}

.video-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(46, 139, 87, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 127, 80, 0.15) 0%, transparent 50%);
    z-index: -1;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.video-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(46, 139, 87, 0.82) 0%, 
        rgba(31, 106, 61, 0.85) 40%,
        rgba(26, 62, 114, 0.75) 100%
    );
    z-index: 0;
}

.video-hero > * {
    position: relative;
    z-index: 1;
}

/* Floating Particles Animation */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: floatParticle 20s infinite ease-in-out;
}

.hero-particles .particle:nth-child(1) {
    top: 20%; left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}
.hero-particles .particle:nth-child(2) {
    top: 60%; left: 20%;
    animation-delay: 2s;
    animation-duration: 22s;
    width: 8px; height: 8px;
}
.hero-particles .particle:nth-child(3) {
    top: 30%; left: 70%;
    animation-delay: 4s;
    animation-duration: 16s;
}
.hero-particles .particle:nth-child(4) {
    top: 80%; left: 80%;
    animation-delay: 6s;
    animation-duration: 24s;
    width: 4px; height: 4px;
}
.hero-particles .particle:nth-child(5) {
    top: 50%; left: 50%;
    animation-delay: 8s;
    animation-duration: 20s;
    width: 10px; height: 10px;
    background: rgba(255, 127, 80, 0.3);
}
.hero-particles .particle:nth-child(6) {
    top: 10%; left: 90%;
    animation-delay: 10s;
    animation-duration: 19s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -50px) scale(1.2);
        opacity: 0.7;
    }
    50% {
        transform: translate(-20px, -100px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.6;
    }
}

/* DNA Helix Background Animation */
.dna-helix-bg {
    position: absolute;
    top: 0;
    right: 5%;
    width: 100px;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

.dna-svg {
    width: 100%;
    height: 100%;
}

.dna-strand {
    stroke-dasharray: 1000;
    animation: dnaFlow 8s linear infinite;
}

.dna-strand-2 {
    animation-delay: -4s;
}

@keyframes dnaFlow {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

/* Hero Content Premium Styling */
.video-hero .hero-content {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.video-hero .hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); }
    100% { text-shadow: 0 2px 40px rgba(255, 255, 255, 0.2), 0 4px 60px rgba(46, 139, 87, 0.3); }
}

.video-hero .hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
    line-height: 1.8;
}

/* Premium Badge Enhancement */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.1); }
}

/* Shimmer Effect Enhancement */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmerMove 3s infinite;
}

@keyframes shimmerMove {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* CTA Buttons Premium */
.video-hero .cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-hero .cta-button::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: left 0.5s ease;
}

.video-hero .cta-button:hover::before {
    left: 100%;
}

.video-hero .cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile Optimization - Hide video on slow connections */
@media (max-width: 768px) {
    .video-hero .hero-video {
        display: none;
    }
    
    .video-hero {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a3e72 100%);
    }
    
    .dna-helix-bg {
        opacity: 0.15;
        right: 2%;
        width: 60px;
    }
    
    .hero-particles .particle {
        width: 4px;
        height: 4px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .video-hero .hero-video,
    .hero-particles .particle,
    .dna-strand,
    .premium-badge {
        animation: none;
    }
    
    .video-hero .hero-video {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .floating-element {
        display: none;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gradient-animate {
        animation: none;
    }
}

/* ====================================================
   PREMIUM SERVICE CARDS ENHANCEMENT
==================================================== */

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(46, 139, 87, 0.2);
}

.service-card .service-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-card .service-icon {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.4);
    z-index: 10;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card .service-content {
    padding: 35px 25px 25px;
}

.service-card .service-content h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
    color: var(--primary);
}

.service-card .service-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Services Container Enhancement */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card .service-img {
        height: 200px;
    }
}

/* Premium Badge Enhancement */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.premium-badge i {
    font-size: 1rem;
    color: var(--accent);
}

/* Hero Sections Enhanced */
.home-hero,
.about-hero,
.services-hero,
.products-hero,
.contact-hero,
.team-hero,
.faq-hero {
    position: relative;
    overflow: hidden;
}

.home-hero::before,
.about-hero::before,
.services-hero::before,
.products-hero::before,
.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: hero-glow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hero-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

/* ========================================
   VIDEO SHOWCASE SECTION - Premium 2026
======================================== */
.video-showcase-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--light) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.video-showcase-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.video-showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.video-showcase-content h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.video-showcase-content p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.video-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.video-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.15);
}

.video-feature i {
    font-size: 1.3rem;
    color: var(--primary);
}

.video-feature span {
    font-weight: 600;
    color: var(--dark);
}

.video-showcase-player {
    position: relative;
}

.video-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.video-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
}

.video-overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.video-wrapper:hover .video-overlay-play {
    opacity: 1;
}

.video-overlay-play i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-left: 5px;
}

.video-overlay-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
}

.video-overlay-play:hover i {
    color: white;
}

/* ========================================
   STATS COUNTER SECTION - Homepage
======================================== */
.stats-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a5f3a 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
    background-size: 100px 100px;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stats-section .stat-item {
    text-align: center;
    color: white;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.stats-section .stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stats-section .stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.stats-section .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    display: inline;
    line-height: 1;
}

.stats-section .stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    display: inline;
    opacity: 0.9;
}

.stats-section .stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 10px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .video-showcase-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .video-wrapper {
        transform: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .video-showcase-content h2 {
        font-size: 2rem;
    }
    
    .video-features {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stats-section .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   WHY CHOOSE US SECTION
======================================== */
.why-choose-section {
    padding: 100px 5%;
    background: white;
    position: relative;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.why-choose-header h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.why-choose-header p {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-item {
    padding: 40px 30px;
    background: var(--light);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 50px rgba(46, 139, 87, 0.15);
    background: white;
}

.why-item:hover::before {
    transform: scaleX(1);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.why-item:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.why-item h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.why-item p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   CTA BANNER SECTION
======================================== */
.cta-banner {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a5f3a 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.cta-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

.btn-outline:hover {
    background: white !important;
    color: var(--primary-dark) !important;
}

@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .why-choose-header h2 {
        font-size: 2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Stats Section Enhancement */
.about-stats {
    position: relative;
    overflow: hidden;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.stat-item {
    position: relative;
    z-index: 1;
}

/* Partners Section Enhancement */
.partners {
    position: relative;
    overflow: hidden;
}

.logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    min-width: 160px;
    text-align: center;
}

.partner-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(46, 139, 87, 0.15);
}

.partner-logo img {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* CTA Buttons in Hero */
.hero-content .cta-button {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
}

.hero-content .cta-button.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-content .cta-button.btn-secondary:hover {
    background: white;
    color: var(--primary-dark);
    border-color: white;
}

/* Expertise Cards Enhancement */
.expertise-card {
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

/* Team Cards Enhancement */
.team-card {
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.team-card:hover::after {
    transform: scaleX(1);
}

/* Smooth Header Transitions */
header {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Page Content Sections */
.service-category {
    position: relative;
}

.service-category .section-title {
    margin-bottom: 60px;
}

.service-category .section-title h2 {
    position: relative;
    display: inline-block;
}

.service-category .section-title p {
    margin-top: 15px;
}

/* Modern Footer Enhancement */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/><circle cx="80" cy="80" r="25" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 200px 200px;
    pointer-events: none;
}

/* Contact Form Enhancement */
.contact-form input,
.contact-form textarea,
.contact-form select {
    transition: all 0.3s ease;
    border: 2px solid var(--gray-light);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.1);
}

/* FAQ Enhancement */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Highlight */
::selection {
    background: var(--primary);
    color: white;
}

/* Print Styles */
@media print {
    .page-loader,
    .back-to-top,
    .cursor-follower,
    .scroll-progress,
    #chatbot-widget {
        display: none !important;
    }
}

/* ====================================================
   COMPREHENSIVE RESPONSIVE DESIGN
   All Devices: Mobile, Tablet, Laptop, Desktop
==================================================== */

/* === EXTRA LARGE SCREENS (1400px+) === */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .services-container {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1600px;
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    section {
        padding: 120px 8%;
    }
}

/* === LARGE SCREENS / LAPTOPS (1200px - 1399px) === */
@media (max-width: 1399px) and (min-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .services-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* === MEDIUM SCREENS / TABLETS LANDSCAPE (992px - 1199px) === */
@media (max-width: 1199px) and (min-width: 992px) {
    header {
        padding: 10px 4%;
    }
    
    .menu ul li {
        margin: 0 8px;
    }
    
    .menu ul li a {
        font-size: 0.95rem;
        padding: 8px 10px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    section {
        padding: 80px 5%;
    }
}

/* === TABLETS PORTRAIT (768px - 991px) === */
@media (max-width: 991px) and (min-width: 768px) {
    header {
        padding: 12px 4%;
    }
    
    .logo img {
        height: 42px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 40px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        z-index: 999;
    }
    
    .menu ul.active {
        right: 0;
    }
    
    .menu ul li {
        margin: 0;
        width: 100%;
    }
    
    .menu ul li a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu ul li.active .dropdown-menu {
        max-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card .service-img {
        height: 180px;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    section {
        padding: 70px 5%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .faq-hero h1 {
        font-size: 2.5rem !important;
    }
}

/* === LARGE PHONES (576px - 767px) === */
@media (max-width: 767px) and (min-width: 576px) {
    header {
        padding: 10px 4%;
    }
    
    .logo img {
        height: 38px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 90px 25px 40px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        z-index: 999;
    }
    
    .menu ul.active {
        right: 0;
    }
    
    .menu ul li {
        margin: 0;
        width: 100%;
    }
    
    .menu ul li a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 15px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
    }
    
    .menu ul li.active .dropdown-menu {
        max-height: 300px;
    }
    
    main {
        padding-top: 80px;
    }
    
    .hero {
        min-height: 75vh;
        padding: 120px 5% 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-showcase {
        grid-template-columns: 1fr;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card .service-img {
        height: 200px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partners-grid,
    .logo-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .partner-logo {
        padding: 20px 15px;
    }
    
    .partner-logo img {
        height: 45px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 50px 5%;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-card-img {
        height: 220px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    section {
        padding: 60px 5%;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .premium-badge {
        padding: 10px 18px;
        font-size: 0.75rem;
    }
    
    .about-hero h1,
    .services-hero h1,
    .products-hero h1,
    .contact-hero h1,
    .team-hero-content h1,
    .faq-hero h1 {
        font-size: 2.2rem !important;
    }
}

/* === SMALL PHONES (up to 575px) === */
@media (max-width: 575px) {
    header {
        padding: 10px 4%;
    }
    
    .logo img {
        height: 35px;
    }
    
    .menu-toggle {
        display: flex;
        width: 28px;
        height: 20px;
    }
    
    .menu ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 40px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        z-index: 999;
    }
    
    .menu ul.active {
        right: 0;
    }
    
    .menu ul li {
        margin: 0;
        width: 100%;
    }
    
    .menu ul li a {
        display: block;
        padding: 12px 0;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 12px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
    }
    
    .menu ul li.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu li a {
        font-size: 0.9rem !important;
        padding: 10px 0 !important;
    }
    
    main {
        padding-top: 70px;
    }
    
    .hero {
        min-height: 70vh;
        padding: 100px 4% 50px;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
        line-height: 1.25;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .hero-showcase {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service.premium-card {
        border-radius: 12px;
    }
    
    .service-img {
        height: 160px;
    }
    
    .service-content {
        padding: 20px 15px;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
    }
    
    .service-content p {
        font-size: 0.85rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .service-card {
        border-radius: 16px;
    }
    
    .service-card .service-img {
        height: 180px;
    }
    
    .service-card .service-content {
        padding: 30px 18px 20px;
    }
    
    .service-card .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: -22px;
        right: 18px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .expertise-card {
        padding: 25px 20px;
    }
    
    .expertise-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .partners-grid,
    .logo-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .partner-logo {
        padding: 18px 12px;
        border-radius: 12px;
    }
    
    .partner-logo img {
        height: 40px;
    }
    
    .partner-logo p {
        font-size: 0.7rem !important;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 40px 4%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-card {
        border-radius: 12px;
    }
    
    .team-card-img {
        height: 260px;
    }
    
    .team-card-content {
        padding: 20px 15px;
    }
    
    .team-card-name {
        font-size: 1.15rem;
    }
    
    .team-card-role {
        font-size: 0.9rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image img {
        height: 250px;
        border-radius: 12px;
    }
    
    .about-text h2 {
        font-size: 1.6rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .check-list li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-column p {
        font-size: 0.85rem;
    }
    
    .footer-links li a {
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 20px 4%;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    section {
        padding: 50px 4%;
    }
    
    .section-title {
        margin-bottom: 35px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
        border-radius: 30px;
    }
    
    .premium-badge {
        padding: 8px 15px;
        font-size: 0.7rem;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }
    
    .premium-badge i {
        font-size: 0.85rem;
    }
    
    /* Hero sections mobile */
    .about-hero,
    .services-hero,
    .products-hero,
    .contact-hero,
    .team-hero,
    .faq-hero {
        min-height: 50vh;
        padding: 120px 4% 60px;
    }
    
    .about-hero h1,
    .services-hero h1,
    .products-hero h1,
    .contact-hero h1 {
        font-size: 1.9rem !important;
    }
    
    .team-hero-content h1,
    .faq-hero h1 {
        font-size: 1.9rem !important;
    }
    
    .about-hero p,
    .services-hero p,
    .products-hero p,
    .contact-hero p {
        font-size: 0.95rem !important;
    }
    
    /* Contact form mobile */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    .contact-info {
        padding: 25px 20px;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
    }
    
    /* FAQ mobile */
    .search-box {
        margin: -30px auto 40px;
    }
    
    .search-input {
        padding: 18px 50px 18px 20px;
        font-size: 0.95rem;
    }
    
    .search-btn {
        width: 40px;
        height: 40px;
    }
    
    .faq-categories {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .category-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .faq-item {
        padding: 18px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
    
    /* Back to top button mobile */
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    /* Chatbot mobile */
    #chatbot-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-toggler {
        width: 50px;
        height: 50px;
    }
    
    .chatbot-container {
        width: calc(100vw - 30px);
        max-width: 350px;
        height: 400px;
        right: 0;
        bottom: 65px;
    }
    
    .chat-input-wrapper {
        flex-wrap: wrap;
    }
    
    .chat-input {
        flex: 1;
        min-width: 150px;
    }
}

/* === VERY SMALL PHONES (up to 375px) === */
@media (max-width: 375px) {
    header {
        padding: 8px 3%;
    }
    
    .logo img {
        height: 32px;
    }
    
    /* Hero needs more top padding on small screens */
    .hero {
        padding-top: 140px !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .premium-badge {
        padding: 6px 10px;
        font-size: 0.6rem;
        margin-bottom: 12px;
    }
    
    /* Hamburger menu visibility - BLACK on white header */
    .menu-toggle span {
        background-color: #000000 !important;
        width: 24px;
        height: 2px;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .partners-grid,
    .logo-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-hero h1,
    .services-hero h1,
    .products-hero h1,
    .contact-hero h1,
    .team-hero-content h1,
    .faq-hero h1 {
        font-size: 1.6rem !important;
    }
}

/* === LANDSCAPE ORIENTATION FIXES === */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 5% 40px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .about-hero,
    .services-hero,
    .products-hero,
    .contact-hero,
    .team-hero,
    .faq-hero {
        min-height: auto;
        padding: 100px 5% 40px;
    }
}

/* === TOUCH DEVICE OPTIMIZATIONS === */
@media (hover: none) and (pointer: coarse) {
    .cursor-follower {
        display: none !important;
    }
    
    .service-card:hover,
    .team-card:hover,
    .premium-card:hover,
    .expertise-card:hover {
        transform: none;
    }
    
    .service-card:active,
    .team-card:active,
    .premium-card:active {
        transform: scale(0.98);
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .cta-button:active {
        transform: scale(0.97);
    }
}

/* === HIGH DPI / RETINA DISPLAYS === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* === PRINT STYLES === */
@media print {
    header,
    footer,
    .back-to-top,
    .page-loader,
    #chatbot-widget,
    .scroll-progress,
    .floating-element,
    .video-hero video {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 20px;
    }
    
    section {
        padding: 20px;
        page-break-inside: avoid;
    }
}

/* ====================================================
   CONTACT PAGE RESPONSIVE STYLES
==================================================== */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5%;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    color: var(--gray);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--light);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.1);
    outline: none;
    background: white;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.4);
}

/* Map Section */
.map-section {
    padding: 0 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.map-section h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 575px) {
    .contact-container {
        padding: 40px 4%;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 14px 30px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* ====================================================
   PRODUCTS PAGE RESPONSIVE STYLES
==================================================== */

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(46, 139, 87, 0.15);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(46, 139, 87, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.product-item h3 {
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.product-item p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .products-container {
        grid-template-columns: 1fr;
    }
    
    .product-item {
        padding: 25px 20px;
    }
}

/* Card Grid for Premium Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.premium-card.product-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.premium-card.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(46, 139, 87, 0.15);
}

.premium-card.product-card h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.premium-card.product-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.premium-card.product-card .cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
    margin-top: 20px;
}

@media (max-width: 575px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-card.product-card {
        padding: 25px 20px;
    }
}

/* ====================================================
   FAQ PAGE RESPONSIVE STYLES
==================================================== */

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.category-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover,
.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.7;
}

@media (max-width: 575px) {
    .faq-categories {
        gap: 8px;
    }
    
    .category-tab {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 18px 16px;
    }
}

/* ====================================================
   FINAL MOBILE OPTIMIZATIONS
==================================================== */

/* Mobile Nav Menu */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
        padding: 100px 30px 40px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(46, 139, 87, 0.1);
    }
    
    .nav-menu li a {
        display: block;
        padding: 16px 0;
        font-size: 1.05rem;
        color: var(--dark);
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
        padding: 10px;
    }
    
    .menu-toggle span {
        width: 28px;
        height: 3px;
        background: #000000 !important;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Service Cards Mobile */
@media (max-width: 767px) {
    .services-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        margin-bottom: 0;
    }
    
    .service-img {
        height: 200px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 1.15rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Hero Sections Mobile */
@media (max-width: 575px) {
    .hero {
        min-height: 50vh;
        padding: 150px 5% 50px;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
    
    .hero-content {
        padding: 0 5%;
        padding-top: 20px;
    }
    
    .premium-badge {
        padding: 8px 16px;
        font-size: 0.7rem;
        margin-bottom: 15px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Ensure hamburger menu is visible - BLACK on white header */
    .menu-toggle span {
        background-color: #000000 !important;
    }
}

/* Team Page Mobile */
@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 575px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-member {
        padding: 25px 20px;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
    
    .member-info h3 {
        font-size: 1.1rem;
    }
}

/* Footer Mobile */
@media (max-width: 767px) {
    footer {
        padding: 50px 5% 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Partners Section Mobile */
@media (max-width: 767px) {
    .partners {
        padding: 50px 5%;
    }
    
    .logo-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partner-logo {
        padding: 15px;
    }
    
    .partner-logo img {
        max-height: 50px;
    }
}

@media (max-width: 375px) {
    .logo-container {
        grid-template-columns: 1fr;
    }
}

/* Video Hero Mobile */
@media (max-width: 767px) {
    .video-hero-bg {
        display: none;
    }
    
    .hero {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    }
}

/* Scroll Progress Mobile */
@media (max-width: 575px) {
    #scroll-progress {
        height: 3px;
    }
    
    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}

/* About Page Stats Mobile */
@media (max-width: 575px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
}

/* Touch-friendly links on mobile */
@media (max-width: 767px) {
    .read-more,
    .footer-section a,
    .nav-menu a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Landscape Phone Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 20px 5%;
    }
    
    .hero h1 {
        font-size: 1.5rem !important;
    }
    
    .hero p {
        font-size: 0.9rem !important;
    }
}

/* High DPI / Retina Display */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-img img,
    .team-member img,
    .partner-logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ====================================================
   MOBILE DROPDOWN FIX
==================================================== */

@media (max-width: 991px) {
    /* Dropdown container on mobile */
    .menu ul > li {
        position: relative;
    }
    
    .menu ul > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Dropdown arrow rotation when active */
    .menu ul > li.dropdown-active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    /* Dropdown menu on mobile - hidden by default */
    .dropdown-menu {
        display: none;
        position: static !important;
        background: rgba(46, 139, 87, 0.05) !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0;
        border-radius: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
    }
    
    /* Show dropdown when parent is active */
    .menu ul > li.dropdown-active .dropdown-menu {
        display: block;
        max-height: 500px;
        padding: 10px 0 !important;
    }
    
    .dropdown-menu li {
        margin: 0;
        border-bottom: none !important;
    }
    
    .dropdown-menu li a {
        padding: 12px 20px 12px 30px !important;
        font-size: 0.95rem !important;
        color: var(--primary-dark) !important;
        border-left: 3px solid var(--primary);
        margin-left: 15px;
        background: transparent !important;
    }
    
    .dropdown-menu li a:hover {
        background: rgba(46, 139, 87, 0.1) !important;
        padding-left: 35px !important;
    }
    
    /* Ensure nav menu is scrollable on mobile */
    .nav-menu.active,
    .menu ul.active {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Desktop dropdown (hover) */
@media (min-width: 992px) {
    .dropdown-arrow {
        display: none !important;
    }
    
    .menu ul > li:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .dropdown-menu li a {
        display: block;
        padding: 10px 20px;
        color: var(--dark);
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu li a:hover {
        background: var(--light);
        color: var(--primary);
        padding-left: 25px;
    }
}

/* ====================================================
   PRODUCT CARD WITH IMAGES
==================================================== */

.product-card-with-image {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card-with-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(46, 139, 87, 0.15);
}

.product-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-with-image:hover .product-card-img img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-card-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
}

.product-card-content .cta-button {
    padding: 10px 20px;
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 575px) {
    .product-card-img {
        height: 150px;
    }
    
    .product-card-content {
        padding: 20px;
    }
}

/* ====================================================
   FIX: IMAGE DISPLAY FOR ALL CARDS
==================================================== */

/* Service Card Images - Make sure they display */
.service-card .service-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 16px 16px 0 0;
}

.service-card .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

/* Product Card Images - Make sure they display */
.product-card-with-image .product-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: var(--light);
}

.product-card-with-image .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-card-with-image:hover .product-card-img img {
    transform: scale(1.1);
}

/* Service Icon Overlay */
.service-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
    z-index: 10;
}

/* Image Zoom Effect */
.image-zoom {
    overflow: hidden;
}

.image-zoom img {
    transition: transform 0.5s ease;
}

.image-zoom:hover img {
    transform: scale(1.08);
}

/* Card Shine Effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    z-index: 5;
    pointer-events: none;
}

.card-shine:hover::before {
    left: 125%;
}

/* ====================================================
   FIX: SERVICES CONTAINER GRID
==================================================== */

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* Service Card Complete Styling */
.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(46, 139, 87, 0.15);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 15px;
}

.service-content .read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-content .read-more:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Card Grid System */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Product Card with Image */
.product-card-with-image {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.product-card-with-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(46, 139, 87, 0.15);
}

.product-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-card-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
}

.product-card-content .cta-button {
    align-self: flex-start;
}

@media (max-width: 767px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card .service-img {
        height: 180px;
    }
    
    .product-card-with-image .product-card-img {
        height: 160px;
    }
}

/* ====================================================
   CRITICAL FIX: FORCE IMAGE DISPLAY
   This overrides any conflicting rules
==================================================== */

/* Service Card Images - Force Display */
.service-img,
.service-card .service-img,
div.service-img {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
}

.service-img img,
.service-card .service-img img,
div.service-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}

.service-card:hover .service-img img {
    transform: scale(1.1) !important;
}

/* Product Card Images - Force Display */
.product-card-img,
.product-card-with-image .product-card-img,
div.product-card-img {
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
}

.product-card-img img,
.product-card-with-image .product-card-img img,
div.product-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}

.product-card-with-image:hover .product-card-img img {
    transform: scale(1.1) !important;
}

/* Service Icon Overlay */
.service-icon {
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(46, 139, 87, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 1.2rem !important;
    z-index: 10 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Ensure card containers display properly */
.service-card,
.service-card.card-shine {
    display: flex !important;
    flex-direction: column !important;
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important;
}

.product-card-with-image {
    display: flex !important;
    flex-direction: column !important;
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Image Zoom Effect Container */
.image-zoom {
    overflow: hidden !important;
}

.image-zoom img {
    transition: transform 0.5s ease !important;
}

.image-zoom:hover img,
.service-card:hover .image-zoom img,
.product-card-with-image:hover .image-zoom img {
    transform: scale(1.1) !important;
}


/* Robust local fallback so product/equipment image areas always show imagery */
.service-img,
.product-card-img {
    background-image: url('lab-equipment.png') !important;
    background-size: cover !important;
    background-position: center !important;
}

.service-img img,
.product-card-img img {
    position: relative;
    z-index: 1;
}

/* ========================================
   OPTIMIZED ANIMATIONS - FAST & SMOOTH
======================================== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* Page Loader - Fast */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Scroll Animations - Lightweight */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.animate-on-scroll.fade-up {
    transform: translateY(30px);
}

.animate-on-scroll.fade-in {
    transform: translateY(0);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.5s ease-out;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hero Animation */
.hero-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Badge */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-badge.shimmer {
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Gradient Animation for Hero Sections */
.gradient-animate {
    background: linear-gradient(-45deg, var(--primary-dark), var(--primary), var(--primary-light), var(--secondary));
    background-size: 300% 300%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Touch Hover for Mobile */
.touch-hover {
    transform: scale(0.98);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.2) !important;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gradient-animate {
        animation: none;
        background: var(--primary);
    }
}

/* === CRITICAL NAV HOTFIX (do not remove) === */
/* Keeps navigation visible. NOTE: do NOT add `transform` to header — it creates a
   containing block that offsets position:fixed mega-menu descendants (header has
   5% horizontal padding, so menus end up shifted 5vw off-center). */
header {
    transform: none !important;
}

/* === MEGA MENU BASE LAYOUT (beats .menu ul { display: flex }) === */
/* Baseline rules match existing media-query selectors, so mobile override at 991px wins on small screens. */
header .dropdown-menu.mega-menu {
    display: block !important;
    flex-direction: initial !important;
    gap: 0 !important;
}
header .dropdown-menu .mega-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
header .applications-dropdown .mega-menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
header .dropdown-menu .mega-column {
    display: block !important;
    min-width: 0 !important;
}
header .dropdown-menu .mega-links {
    display: block !important;
    flex-direction: initial !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}
header .dropdown-menu .mega-links li {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
}
header .dropdown-menu .mega-links li a {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
}

/* Desktop nav layout lock: keep all menu items grouped on the right */
@media (min-width: 992px) {
    header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    header .logo {
        flex: 0 0 auto !important;
    }

    header .menu {
        flex: 0 0 auto !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    header .menu > ul,
    header .menu ul#menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
    }

    header .menu > ul > li,
    header .menu ul#menu > li {
        flex: 0 0 auto !important;
        margin: 0 !important;
        position: relative !important;
    }

    header .menu > ul > li > a,
    header .menu ul#menu > li > a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        padding: 14px 23px !important;
        gap: 8px !important;
        font-family: "Montserrat", "Poppins", sans-serif !important;
        font-weight: 600 !important;
        font-size: 1.28rem !important;
        letter-spacing: 0.2px !important;
    }

    header .menu > ul > li.has-dropdown > a i,
    header .menu ul#menu > li.has-dropdown > a i {
        font-size: 0.7rem !important;
        opacity: 0.75 !important;
        transition: transform 0.25s ease !important;
    }

    header .menu > ul > li.has-dropdown:hover > a i,
    header .menu ul#menu > li.has-dropdown:hover > a i,
    header .menu > ul > li.has-dropdown:focus-within > a i,
    header .menu ul#menu > li.has-dropdown:focus-within > a i {
        transform: rotate(180deg) !important;
    }

    header .menu-toggle,
    header button.menu-toggle {
        display: none !important;
    }

    header .dropdown-menu {
        position: absolute !important;
        left: 0 !important;
        top: 100% !important;
        min-width: 280px !important;
        margin-top: 10px !important;
        background: #ffffff !important;
        border: 1px solid #dbe6df !important;
        border-radius: 12px !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14) !important;
        padding: 8px 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(8px) !important;
        z-index: 1200 !important;
        display: block !important;
    }

    header .menu > ul > li.products-dropdown {
        position: static !important;
    }

    header .menu > ul > li.products-dropdown > .dropdown-menu.mega-menu {
        position: fixed !important;
        top: 72px !important;
        left: 50vw !important;
        transform: translate(-50%, 8px) !important;
        width: min(1400px, calc(100vw - 32px)) !important;
        min-width: auto !important;
        max-width: calc(100vw - 32px) !important;
        padding: 16px 18px !important;
        border-radius: 14px !important;
        max-height: min(calc(100vh - 96px), 640px) !important;
        overflow-y: auto !important;
    }

    header .dropdown-menu .mega-menu-grid {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }

    header .menu > ul > li.applications-dropdown {
        position: static !important;
    }

    /* Apps mega-menu uses .apps-mega-menu class (added by main.js). Rule below handles it. */

    header .applications-dropdown .mega-menu-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    header .applications-dropdown .mega-column h4 i,
    header .products-dropdown .mega-column h4 i {
        color: #2e8b57 !important;
        margin-right: 8px !important;
    }

    header .dropdown-menu .mega-column h4 {
        font-family: "Montserrat", sans-serif !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: #1f2a35 !important;
        margin: 0 0 12px !important;
        padding-bottom: 12px !important;
        border-bottom: 2px solid #2e8b57 !important;
        letter-spacing: 0.3px !important;
    }

    header .dropdown-menu .mega-links {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        gap: 6px !important;
    }

    header .dropdown-menu .mega-links li a {
        border-left: 0 !important;
        font-weight: 500 !important;
        font-size: 0.95rem !important;
        padding: 7px 10px !important;
        color: #2e8b57 !important;
        line-height: 1.38 !important;
        border-radius: 6px !important;
    }

    header .dropdown-menu .mega-links li a:hover,
    header .dropdown-menu .mega-links li a:focus-visible,
    header .dropdown-menu .mega-links li a.active {
        color: #1f6a3d !important;
        background: rgba(46, 139, 87, 0.1) !important;
        padding-left: 10px !important;
    }

    header .menu > ul > li:not(.products-dropdown):not(.applications-dropdown):hover > .dropdown-menu,
    header .menu ul#menu > li:not(.products-dropdown):not(.applications-dropdown):hover > .dropdown-menu,
    header .menu > ul > li:not(.products-dropdown):not(.applications-dropdown):focus-within > .dropdown-menu,
    header .menu ul#menu > li:not(.products-dropdown):not(.applications-dropdown):focus-within > .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    header .menu > ul > li.products-dropdown:hover > .dropdown-menu.mega-menu,
    header .menu > ul > li.products-dropdown:focus-within > .dropdown-menu.mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(-50%, 0) !important;
    }

    header .dropdown-menu li {
        margin: 0 !important;
    }

    header .dropdown-menu li a {
        display: block !important;
        padding: 14px 22px !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        color: #1f2a35 !important;
        border-left: 3px solid transparent !important;
        background: transparent !important;
        transition: all 0.25s ease !important;
    }

    header .dropdown-menu li a:hover,
    header .dropdown-menu li a:focus-visible,
    header .dropdown-menu li a.active {
        color: #1f6a3d !important;
        background: rgba(46, 139, 87, 0.09) !important;
        border-left-color: #2e8b57 !important;
        padding-left: 20px !important;
    }

    header .menu > ul > li:not(.products-dropdown):not(.applications-dropdown) > .dropdown-menu {
        min-width: 255px !important;
        width: max-content !important;
        padding: 10px 0 !important;
    }

    header .menu > ul > li:not(.products-dropdown):not(.applications-dropdown) > .dropdown-menu li {
        display: block !important;
    }

    header .menu > ul > li:not(.products-dropdown):not(.applications-dropdown) > .dropdown-menu li a {
        display: block !important;
        width: 100% !important;
        white-space: nowrap !important;
        font-family: "Montserrat", "Poppins", sans-serif !important;
        font-weight: 600 !important;
    }

    header .menu > ul > li.applications-dropdown {
        position: static !important;
    }

    header .menu > ul > li.applications-dropdown > .dropdown-menu.apps-mega-menu {
        position: fixed !important;
        top: 72px !important;
        left: 50vw !important;
        transform: translate(-50%, 8px) !important;
        width: min(1280px, calc(100vw - 32px)) !important;
        min-width: auto !important;
        max-width: calc(100vw - 32px) !important;
        padding: 18px !important;
        border-radius: 14px !important;
        max-height: min(calc(100vh - 96px), 680px) !important;
        overflow-y: auto !important;
    }

    header .menu > ul > li.applications-dropdown:hover > .dropdown-menu.apps-mega-menu,
    header .menu > ul > li.applications-dropdown:focus-within > .dropdown-menu.apps-mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(-50%, 0) !important;
    }

    header .dropdown-menu.apps-mega-menu {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    header .dropdown-menu.apps-mega-menu > li {
        margin: 0 !important;
        display: flex !important;
    }

    .app-mega-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        text-decoration: none !important;
        background: #fff !important;
        border: 1px solid #dbe6df !important;
        border-radius: 12px !important;
        padding: 0 !important;
        transition: all 0.25s ease !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .app-mega-card img {
        width: 100% !important;
        height: 140px !important;
        border-radius: 0 !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
    }

    .app-mega-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        padding: 12px 14px 14px !important;
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .app-mega-content strong {
        font-family: "Montserrat", "Poppins", sans-serif !important;
        color: #1f2a35 !important;
        font-size: 0.95rem !important;
        line-height: 1.26 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    .app-mega-content small {
        color: #4b6278 !important;
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    .app-mega-card:hover,
    .app-mega-card:focus-visible {
        background: rgba(46, 139, 87, 0.08) !important;
        border-color: #2e8b57 !important;
        transform: translateY(-2px) !important;
    }

    header .dropdown-menu .mega-section {
        margin-bottom: 14px !important;
    }

    header .dropdown-menu .mega-section-title {
        font-family: "Montserrat", "Poppins", sans-serif !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        color: #1f6a3d !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        margin: 0 0 6px !important;
    }

    @media (max-width: 1400px) {
        header .menu > ul > li.products-dropdown > .dropdown-menu.mega-menu {
            width: min(1320px, calc(100vw - 24px)) !important;
            min-width: auto !important;
        }

        header .menu > ul > li.applications-dropdown > .dropdown-menu.apps-mega-menu {
            width: min(1280px, calc(100vw - 24px)) !important;
        }
    }

    @media (max-width: 1220px) {
        header .menu > ul > li.products-dropdown > .dropdown-menu.mega-menu {
            width: min(1140px, calc(100vw - 24px)) !important;
            padding: 14px 16px !important;
        }

        header .dropdown-menu .mega-menu-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 14px !important;
        }

        header .applications-dropdown .mega-menu-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }

        header .dropdown-menu .mega-links li a {
            font-size: 0.85rem !important;
            line-height: 1.3 !important;
            padding: 5px 8px !important;
        }

        header .menu > ul > li.applications-dropdown > .dropdown-menu.apps-mega-menu {
            width: min(1100px, calc(100vw - 24px)) !important;
            padding: 16px !important;
        }

        header .dropdown-menu.apps-mega-menu {
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        }

        .app-mega-card img {
            height: 130px !important;
        }

        .app-mega-content strong {
            font-size: 0.92rem !important;
        }

        .app-mega-content small {
            font-size: 0.8rem !important;
        }
    }

    @media (max-width: 1100px) {
        header .dropdown-menu .mega-menu-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }

        header .menu > ul > li.products-dropdown > .dropdown-menu.mega-menu {
            max-height: min(calc(100vh - 96px), 560px) !important;
        }

        header .dropdown-menu.apps-mega-menu {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }

        .app-mega-card img {
            height: 120px !important;
        }
    }
}

@media (max-width: 991px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1050;
    }

    header .menu {
        position: relative;
        padding-right: 52px;
    }

    header .menu-toggle,
    header button.menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        z-index: 1101;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 6px;
    }

    header .menu-toggle span,
    header button.menu-toggle span {
        background: #000 !important;
        height: 3px;
        width: 28px;
        display: block !important;
        border-radius: 2px;
    }

    header .menu > ul {
        display: none !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: #fff;
        z-index: 1099;
        padding: 90px 22px 30px;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.16);
        flex-direction: column;
        gap: 0;
        transition: right 0.35s ease;
    }

    header .menu > ul.active {
        display: flex !important;
        right: 0;
    }

    header .menu > ul > li.products-dropdown > .dropdown-menu.mega-menu {
        width: 100% !important;
        min-width: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
    }

    header .menu > ul > li.dropdown-active > .dropdown-menu.mega-menu {
        max-height: 1100px !important;
        padding: 12px 0 !important;
    }

    header .dropdown-menu .mega-menu-grid {
        display: block !important;
    }

    header .dropdown-menu .mega-column {
        margin-bottom: 14px !important;
        padding: 0 14px !important;
    }

    header .dropdown-menu .mega-column h4 {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
        padding-bottom: 6px !important;
    }

    header .dropdown-menu .mega-links li a {
        padding: 8px 10px !important;
        margin-left: 0 !important;
        border-left: 3px solid var(--primary) !important;
        color: var(--primary-dark) !important;
    }

    header .menu > ul > li:not(.products-dropdown):not(.applications-dropdown) > .dropdown-menu {
        display: none;
        width: 100% !important;
        min-width: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
    }

    header .menu > ul > li.dropdown-active:not(.products-dropdown):not(.applications-dropdown) > .dropdown-menu {
        display: block !important;
        max-height: 500px !important;
        padding: 10px 0 !important;
    }

    header .menu > ul > li:not(.products-dropdown):not(.applications-dropdown) > .dropdown-menu li a {
        white-space: normal !important;
        line-height: 1.45 !important;
        font-family: "Montserrat", "Poppins", sans-serif !important;
        font-weight: 600 !important;
    }

    header .menu > ul > li.applications-dropdown > .dropdown-menu.apps-mega-menu {
        display: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        left: 0 !important;
        transform: none !important;
    }

    header .menu > ul > li.dropdown-active.applications-dropdown > .dropdown-menu.apps-mega-menu {
        display: block !important;
        max-height: 1200px !important;
        padding: 12px 0 !important;
    }

    header .dropdown-menu.apps-mega-menu {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .app-mega-card {
        border-radius: 8px !important;
        padding: 0 !important;
        border-left: 3px solid var(--primary) !important;
        flex-direction: row !important;
        align-items: center !important;
        overflow: visible !important;
    }

    .app-mega-card img {
        width: 84px !important;
        height: 66px !important;
        border-radius: 8px !important;
        margin: 8px 0 8px 8px !important;
    }

    .app-mega-content {
        padding: 8px 10px 8px 10px !important;
    }
}

/* =============================================================
   HOMEPAGE — Products by Category & Sample Services sections
============================================================= */
.section-title .section-subtitle {
    max-width: 820px;
    margin: 14px auto 0;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

#products-showcase .service-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

#products-showcase .service-content h3 i {
    color: var(--primary);
    font-size: 1.1em;
    flex-shrink: 0;
}

#products-showcase .full-catalog-card {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, #f0faf3 0%, #ffffff 100%);
}

.sample-services {
    background: linear-gradient(135deg, #f7fbf8 0%, #eaf3ed 100%);
    padding-top: 80px;
    padding-bottom: 80px;
}

.sample-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.sample-service-content {
    padding: 32px 24px !important;
    text-align: center;
}

.sample-service-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 10px 24px rgba(46, 139, 87, 0.28);
    transition: transform 0.3s ease;
}

.sample-services .service:hover .sample-service-icon {
    transform: scale(1.08) rotate(-4deg);
}

.sample-service-content h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.sample-service-content p {
    color: var(--gray);
    line-height: 1.65;
    font-size: 0.95rem;
    margin-bottom: 16px;
    min-height: 90px;
}

@media (max-width: 1100px) {
    .sample-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .sample-services-grid {
        grid-template-columns: 1fr;
    }
    .sample-service-content p {
        min-height: 0;
    }
}

/* ===== Hero Search Bar ===== */
.hero-search {
    display: flex;
    align-items: center;
    width: min(760px, 92%);
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    position: relative;
    backdrop-filter: blur(6px);
}
.hero-search-icon {
    color: #1a3e72;
    font-size: 1.05rem;
    margin-right: 10px;
    flex-shrink: 0;
}
.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #1a2540;
    padding: 14px 6px;
    min-width: 0;
}
.hero-search-input::placeholder {
    color: #6b7a99;
}
.hero-search-btn {
    border: none;
    background: linear-gradient(135deg, #1a3e72 0%, #2b5caf 100%);
    color: #fff;
    padding: 0 26px;
    height: 48px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    flex-shrink: 0;
}
.hero-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(26, 62, 114, 0.35);
}
.hero-search-quick {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 36px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.85);
}
.hero-search-quick span {
    opacity: 0.75;
}
.hero-search-quick a {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 5px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.hero-search-quick a:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}
@media (max-width: 600px) {
    .hero-search {
        padding: 4px 4px 4px 16px;
    }
    .hero-search-btn {
        padding: 0 16px;
        height: 42px;
        font-size: 0.85rem;
    }
    .hero-search-input {
        font-size: 0.9rem;
        padding: 12px 4px;
    }
}

/* =========================================================
   MOBILE RESPONSIVENESS POLISH PASS
   Appended last so these rules win the cascade. Targets
   overflow bugs, cramped hero text, and grid/card layouts
   on small devices (≤768px, especially ≤480px).
   ========================================================= */

/* Global overflow guard — prevents any wide element from
   producing a horizontal scrollbar on mobile. */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* All images fluid by default. */
img {
    max-width: 100%;
    height: auto;
}

/* Tablet & below: ensure sensible base padding and image behavior. */
@media (max-width: 991px) {
    section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .container,
    .pd-container,
    .services-intro-container,
    .applications-grid,
    .footer-content {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }
}

/* =========== PHONE LAYOUT (≤768px) ===========  */
@media (max-width: 768px) {

    /* Headline / hero typography */
    .hero-content h1,
    .hero h1,
    section h1 {
        font-size: clamp(1.7rem, 7vw, 2.3rem) !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }
    .hero-content p,
    .hero p,
    section p {
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

    /* Hero stat numbers (e.g. "50+ Lab Partners Across Africa")
       — stop clipping by scaling number + letting text wrap. */
    .hero-stats,
    .stats-row,
    .stats-grid,
    .about-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .stat-item {
        min-width: 0 !important;
        padding: 16px 10px !important;
    }
    .stat-number,
    .hero-stat-number,
    .stat-suffix,
    [class*="stat-number"] {
        font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
        line-height: 1.1 !important;
    }
    .stat-label,
    .hero-stat-label,
    [class*="stat-label"] {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        word-wrap: break-word;
    }

    /* Any card that holds text + image stacks and doesn't force min-widths. */
    .service,
    .service-card,
    .product-item,
    .application-card,
    .pd-model-card,
    .pd-app-card,
    .pd-accessory-card,
    .team-card,
    .expertise-card,
    .partner-logo {
        min-width: 0 !important;
    }

    /* Product grid: comfortable 2-up on medium phones, 1-up on narrow ones. */
    .products-list-container,
    .services-container,
    .services-grid,
    .expertise-grid,
    .applications-grid,
    .products-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Footer always stacks */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center;
    }
    .footer-column h3 { margin-bottom: 8px; }

    /* Buttons wrap rather than overflowing the card. */
    .hero-cta,
    .pd-hero-cta,
    .pd-model-cta,
    .service-card-footer,
    .product-item-actions {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .hero-cta .btn,
    .pd-btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 140px;
    }

    /* Section titles centered + readable */
    .section-title h2,
    .pd-section-title {
        font-size: clamp(1.4rem, 5vw, 1.9rem) !important;
        text-align: center;
    }

    /* Detail page: single-column hero */
    .pd-hero-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .pd-hero-main-img {
        aspect-ratio: 4 / 3;
    }
    .pd-section {
        padding: 48px 5% !important;
    }
}

/* =========== SMALL PHONES (≤575px) ===========  */
@media (max-width: 575px) {
    /* Header: tighter padding so logo fits next to hamburger. */
    header {
        padding: 10px 16px !important;
        justify-content: space-between !important;
    }
    header .logo img { max-height: 38px; width: auto; }

    /* Mobile menu: ensure it overlays ABOVE the page, covers full height,
       and aligns menu items cleanly. */
    .menu ul {
        width: min(88vw, 320px) !important;
        padding: 88px 22px 32px !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        overflow-y: auto !important;
        z-index: 1200 !important;
    }
    .menu ul li { width: 100% !important; text-align: left !important; }
    .menu ul li a {
        width: 100%;
        text-align: left !important;
        padding: 14px 0 !important;
        font-size: 1rem !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    /* Close button (the big X you see in the screenshot) positioned inside
       the menu, not overlapping the page behind. */
    .menu-toggle {
        z-index: 1300 !important;
    }

    /* Hero: comfortable padding & readable text. */
    .hero {
        min-height: auto !important;
        padding: 110px 16px 50px !important;
    }
    .hero-content {
        padding: 0 !important;
    }
    .hero-content h1 {
        font-size: clamp(1.6rem, 8vw, 2rem) !important;
    }
    .hero-content p {
        font-size: 0.95rem !important;
    }

    /* Stats block: 2 columns on narrow phones. */
    .hero-stats,
    .stats-row,
    .stats-grid,
    .about-stats {
        grid-template-columns: 1fr 1fr !important;
    }
    @media (max-width: 420px) {
        .hero-stats,
        .stats-row,
        .stats-grid,
        .about-stats {
            grid-template-columns: 1fr !important;
        }
    }

    /* Product / service / application cards: full width, softer radii. */
    .product-item,
    .service-card,
    .application-card,
    .service-card-premium {
        border-radius: 14px !important;
    }

    /* Product thumb: a bit shorter on small screens so more content is visible. */
    .product-item-thumb {
        height: 180px !important;
    }

    /* Detail page: smaller hero image + tighter gaps. */
    .pd-hero { padding: 36px 16px 40px !important; }
    .pd-section { padding: 40px 16px !important; }
    .pd-hero-gallery { padding: 10px; }

    /* Certification / service grids: 1 column */
    .services-grid,
    .certifications-grid {
        grid-template-columns: 1fr !important;
    }

    /* Modals and floating buttons never escape viewport. */
    .chatbot-container,
    #chatbot-widget,
    .modal-content,
    .product-modal-content {
        max-width: calc(100vw - 32px) !important;
        left: 16px !important;
        right: 16px !important;
    }

    /* Table / code blocks scroll horizontally rather than breaking layout. */
    pre, table {
        max-width: 100%;
        overflow-x: auto;
    }

    /* Mega-menu hover cards (applications): stack to 1 column on phones. */
    header .dropdown-menu.apps-mega-menu {
        grid-template-columns: 1fr !important;
    }
}

/* =========== VERY SMALL PHONES (≤375px) ===========  */
@media (max-width: 375px) {
    .hero-content h1 { font-size: 1.55rem !important; }
    .hero-content p { font-size: 0.88rem !important; }
    .section-title h2,
    .pd-section-title { font-size: 1.3rem !important; }
    header .logo img { max-height: 34px; }
    .menu-toggle { width: 26px !important; height: 18px !important; }

    /* Pills / badges shrink so long labels don't push outside the card. */
    .pd-pill {
        font-size: 0.78rem !important;
        padding: 4px 10px !important;
    }

    /* Buttons: full-width for easy tapping. */
    .btn,
    .pd-btn,
    .learn-more-btn,
    .quote-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Prevent menu scroll-lock leaving body cropped when nav closes */
body.menu-open {
    overflow: hidden;
}

/* Mobile: chevron is the submenu toggle. Enlarge its tap area so it's
   easy to hit without accidentally tapping the link text. */
@media (max-width: 991px) {
    .menu ul li.has-dropdown > a {
        position: relative;
        padding-right: 44px !important;
    }
    .menu ul li.has-dropdown > a .fa-chevron-down,
    .menu ul li.has-dropdown > a .fa-chevron-up,
    .menu ul li.has-dropdown > a .fa-caret-down {
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #2e8b57;
        font-size: 0.9rem;
        border-radius: 8px;
        transition: background 0.2s ease, transform 0.25s ease;
    }
    .menu ul li.dropdown-active > a .fa-chevron-down,
    .menu ul li.dropdown-active > a .fa-chevron-up,
    .menu ul li.dropdown-active > a .fa-caret-down {
        transform: translateY(-50%) rotate(180deg);
        background: rgba(46, 139, 87, 0.1);
    }
}

/* =========================================================
   HEADER VISIBILITY FIX (mobile)
   - Bigger logo so brand reads clearly
   - Hamburger bars must be BLACK so they show on the
     white header background (the earlier var(--dark) was
     being overridden elsewhere in the cascade).
   ========================================================= */
@media (max-width: 991px) {
    /* Bigger, readable logo on mobile — was ≤38px, now ≤54px. */
    header .logo img,
    .hero-page header .logo img {
        max-height: 54px !important;
        height: auto !important;
        width: auto !important;
    }

    /* Hamburger button: absolute-positioned against the fixed header so
       it stays glued to the right edge regardless of what nav.menu is
       doing. `right` controls the gap from the viewport edge. */
    header .menu-toggle,
    header button.menu-toggle,
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 32px !important;
        height: 24px !important;
        padding: 1px 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 1300 !important;
        position: absolute !important;
        right: 16px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    /* Bars: black, 3px tall, full button width, always visible. */
    header .menu-toggle span,
    header button.menu-toggle span,
    .menu-toggle span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background: #000 !important;
        background-color: #000 !important;
        border-radius: 2px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: transform 0.3s ease, opacity 0.3s ease !important;
    }

    /* Animated X when menu is open — these must override the bar color
       by keeping a consistent dark fill. */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg) !important;
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg) !important;
    }
}

@media (max-width: 575px) {
    header .logo img,
    .hero-page header .logo img {
        max-height: 48px !important;
    }
}

@media (max-width: 375px) {
    header .logo img,
    .hero-page header .logo img {
        max-height: 42px !important;
    }
}
