/* --- CSS VARIABLES --- */
:root {
    --primary-color: #0F2C59;
    --secondary-color: #00A896;
    --accent-color: #D4AF37;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E9ECEF;
    --font-primary: 'Inter', sans-serif;
    --transition-standard: all 0.3s ease-in-out;
}

/* --- RESET & TYPOGRAPHY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-color);
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-standard);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

/* --- GRID SYSTEM --- */
.container {
    width: 100%;
    max-width: 1600px; /* Ultrawide container to minimize edge gaps */
    margin: 0 auto;
    padding: 0 40px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px; /* Minimal ultramodern gap */
    margin-right: -10px;
}

.col-4, .col-6, .col-8, .col-12, .col-3 {
    padding: 0 10px; /* 20px total gap between columns */
}

.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-6 { width: 50%; }
.col-8 { width: 66.666%; }
.col-12 { width: 100%; }

@media (max-width: 991px) {
    .col-3, .col-4 { width: 50%; }
}
@media (max-width: 767px) {
    .col-3, .col-4, .col-6, .col-8 { width: 100%; }
    .container { padding: 0 15px; }
    .row { margin-left: -15px; margin-right: -15px; }
    .col-4, .col-6, .col-8, .col-12, .col-3 { padding: 0 15px; }
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-standard);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

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

/* --- HEADER --- */
.top-bar {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 0;
    font-size: 14px;
}
.top-bar a {
    color: var(--bg-white);
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.top-bar a:hover {
    color: var(--secondary-color);
}
.top-bar .right-info {
    text-align: right;
}

.main-header {
    background-color: var(--bg-white);
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 100;
    transition: all 0.4s ease;
}
.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 5px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container img {
    max-height: 90px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-menu li {
    position: relative;
}
.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    padding: 10px 0;
}
.nav-menu a:hover {
    color: var(--secondary-color);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-standard);
}
.nav-menu a:hover::after {
    width: 100%;
}

/* --- SUBMENU DROPDOWN (desktop hover) --- */
@media (min-width: 992px) {
    .nav-menu li:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    list-style: none;
    padding: 15px 0;
    margin: 0;
    min-width: 220px;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-top: 3px solid var(--secondary-color);
}
.submenu li {
    width: 100%;
    margin: 0;
    padding: 0;
}
.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    transition: all 0.2s ease;
}
.submenu li a::after {
    display: none !important;
}
.submenu li a:hover {
    background: rgba(15, 44, 89, 0.05);
    color: var(--secondary-color) !important;
    padding-left: 25px;
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background-color: var(--primary-color);
    overflow: hidden;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
    visibility: visible;
}
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 6s ease-out;
}
.slide.active .slide-bg {
    transform: scale(1.05);
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 44, 89, 0.9) 0%, rgba(15, 44, 89, 0.4) 100%);
}
.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--bg-white);
    max-width: 600px;
}
.slide-content h1 {
    color: var(--bg-white);
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}
.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
}
.slide-content .btn-group {
    opacity: 0;
    transform: translateY(30px);
}

/* Active slide animations (handled by GSAP or CSS delays) */
.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .btn-group {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}
.slide.active .slide-content p { transition-delay: 0.7s; }
.slide.active .slide-content .btn-group { transition-delay: 0.9s; }

.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 20;
    display: flex;
    gap: 15px;
}
.control-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-standard);
}
.control-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* --- OVERLAP CARDS SECTION --- */
.overlap-cards {
    margin-top: -80px;
    position: relative;
    z-index: 30;
    padding-bottom: 80px;
}
.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: var(--transition-standard);
    height: 100%;
    border-bottom: 4px solid transparent;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
}
.feature-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    overflow: hidden;
}
.about-text {
    padding-right: 40px;
}
.section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}
.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.about-list {
    margin: 30px 0;
}
.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}
.about-list i {
    color: var(--secondary-color);
    font-size: 20px;
}

.about-images {
    position: relative;
}
.about-img-1 {
    border-radius: 8px;
    width: 80%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-img-2 {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 60%;
    border: 10px solid var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* --- COUNTERS SECTION --- */
.counters-section {
    padding: 60px 0;
    background: url('https://www.schwitzbiotech.in/wp-content/uploads/2024/01/welcome-images.png') center/cover fixed;
    position: relative;
    color: var(--bg-white);
}
.counters-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 44, 89, 0.85);
}
.counter-box {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px;
}
.counter-icon {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.counter-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}
.counter-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- PRODUCTS GRID --- */
.products-section {
    padding: 60px 0;
    background-image: url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?auto=format&fit=crop&w=1920&q=80'); /* Subtle laboratory/medical background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}
.products-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.92); /* 92% white overlay for a premium, subtle texture */
    z-index: -1;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.product-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.product-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img {
    transform: scale(1.1);
}
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(15, 44, 89, 0.95), transparent);
    color: white;
    transform: translateY(20px);
    transition: var(--transition-standard);
}
.product-card:hover .product-overlay {
    transform: translateY(0);
}
.product-overlay h3 {
    color: white;
    margin-bottom: 5px;
}
.product-overlay a {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 15px;
    opacity: 0;
    transition: var(--transition-standard);
}
.product-card:hover .product-overlay a {
    opacity: 1;
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 60px 0;
    background: var(--bg-white);
}
.contact-form-box {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 25px;
}
.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition-standard);
}
.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}
.contact-info-box {
    padding: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    height: 100%;
}
.contact-info-box h3 {
    color: white;
    margin-bottom: 30px;
}
.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.info-item i {
    font-size: 24px;
    color: var(--secondary-color);
}

/* --- FOOTER --- */
.site-footer {
    background-color: #081121;
    color: #a3b1c6;
    padding: 80px 0 20px;
    font-size: 15px;
}
.footer-widget {
    margin-bottom: 30px;
}
.footer-widget h3 {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 20px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}
.footer-links li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}
.footer-links li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    transition: var(--transition-standard);
}
.footer-links a {
    color: #a3b1c6;
}
.footer-links a:hover {
    color: var(--secondary-color);
}
.footer-links li:hover::before {
    left: 5px;
}
.footer-contact {
    list-style: none;
}
.footer-contact li {
    display: flex;
    margin-bottom: 20px;
    gap: 15px;
    align-items: flex-start;
}
.footer-contact i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-top: 3px;
}
.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { margin: 0; }
.footer-bottom-links a {
    color: #a3b1c6;
    margin-left: 20px;
    font-size: 14px;
}
.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* --- HIT PRODUCTS (FOOTER) --- */
.footer-product {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.footer-product img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    background: white;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-product h4 {
    color: white;
    font-size: 15px;
    margin: 0 0 5px 0;
    line-height: 1.2;
}
.footer-product a {
    color: var(--secondary-color);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}
.footer-product a:hover {
    color: white;
}

/* --- MISSION / VISION / VALUES --- */
.mvv-section {
    padding: 50px 0;
    background-color: var(--bg-white);
}
.mvv-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-standard);
    height: 100%;
    border: 1px solid var(--border-color);
}
.mvv-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}
.mvv-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
}
.mvv-card h3 {
    margin-bottom: 15px;
}

/* --- MANUFACTURING CAPABILITIES --- */
.capabilities-section {
    padding: 60px 0;
    background: var(--bg-light);
}
.capabilities-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.capabilities-text {
    padding-left: 40px;
}
.capabilities-list {
    margin-top: 20px;
}
.capabilities-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}
.capabilities-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
}

/* --- AWARD BANNER --- */
.award-banner {
    padding: 60px 0;
    background-image: url('https://www.schwitzbiotech.in/wp-content/uploads/2022/11/img-02-800x715.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: var(--bg-white);
}
.award-banner::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(15, 44, 89, 0.85);
}
.award-content {
    position: relative;
    z-index: 10;
}
.award-content h2 {
    color: var(--accent-color);
    font-size: 48px;
    margin-bottom: 20px;
}
.award-content h3 {
    color: var(--bg-white);
    font-weight: 300;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    padding: 60px 0;
    background: var(--bg-white);
}
.testimonial-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonial-item {
    min-width: 100%;
    text-align: center;
    padding: 0 20px;
}
.testimonial-item p {
    font-size: 20px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}
.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}
.testimonial-author h4 {
    margin: 0;
    font-size: 18px;
}
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-standard);
}
.t-dot.active, .t-dot:hover {
    background: var(--secondary-color);
}

/* --- NEWS & INSIGHTS --- */
.news-section {
    padding: 60px 0;
    background: var(--bg-light);
}
.news-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition-standard);
    height: 100%;
}
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-content {
    padding: 30px;
}
.news-date {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
.news-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}
.news-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* --- GLOBAL PRESENCE (LOGOS) --- */
.clients-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
}
.clients-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.clients-grid img {
    max-height: 50px;
    opacity: 0.6;
    transition: var(--transition-standard);
    filter: grayscale(100%);
}
.clients-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- STICKY SOCIAL SIDEBAR --- */
.sticky-social {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sticky-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    color: white;
    border-radius: 8px 0 0 8px;
    transition: var(--transition-standard);
}

.sticky-social a:hover {
    width: 65px;
}

.sticky-social a i {
    border: 2px solid white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.social-fb { background: #3b5998; }
.social-tw { background: #55acee; }
.social-li { background: #007bb5; }
.social-yt { background: #bb0000; }
.social-ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

/* --- STICKY WHATSAPP --- */
.sticky-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.sticky-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}
.sticky-whatsapp i {
    border: 2px solid white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* --- GSAP ANIMATION CLASSES --- */
.gsap-fade-up { opacity: 0; transform: translateY(50px); }
.gsap-fade-in { opacity: 0; }
.gsap-zoom-in { opacity: 0; transform: scale(0.9); }

/* --- AJAX SEARCH OVERLAY --- */
.search-icon-nav {
    cursor: pointer;
    font-size: 18px;
    margin-left: 15px;
    color: var(--primary-color);
    transition: color 0.3s;
}
.search-icon-nav:hover {
    color: var(--secondary-color);
}

.search-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 44, 89, 0.95);
    z-index: 9999;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    backdrop-filter: blur(10px);
}
.search-overlay.active {
    top: 0;
}
.search-overlay-close {
    position: absolute;
    top: 40px;
    right: 50px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s;
}
.search-overlay-close:hover {
    transform: rotate(90deg);
    color: var(--secondary-color);
}
.search-overlay-container {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}
.search-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}
.search-overlay-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 36px;
    padding: 10px 50px 10px 0;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}
.search-overlay-input:focus {
    border-bottom-color: var(--secondary-color);
}
.search-overlay-input::placeholder {
    color: rgba(255,255,255,0.5);
}
.search-input-wrapper i {
    position: absolute;
    right: 10px;
    bottom: 20px;
    font-size: 24px;
    color: white;
}

.search-results {
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: none;
}
.search-results.active {
    display: block;
}
/* Custom Scrollbar for results */
.search-results::-webkit-scrollbar {
    width: 8px;
}
.search-results::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 0 8px 8px 0;
}
.search-results::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 4px;
}
.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s;
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover {
    background: #f8f9fa;
}
.search-result-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 20px;
    background: #f1f1f1;
    border-radius: 6px;
    padding: 5px;
}
.search-result-info h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 18px;
}
.search-result-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
    background: rgba(15, 44, 89, 0.05);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
}
.search-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

/* --- MOBILE RESPONSIVENESS & HAMBURGER MENU --- */
.mobile-menu-btn {
    display: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: auto;
    margin-right: 15px;
    transition: color 0.3s;
}

/* Dropdown toggle chevron button — hidden on desktop */
.dropdown-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: transform 0.3s ease, background 0.2s ease;
    vertical-align: middle;
    margin-left: 4px;
    line-height: 1;
}
.dropdown-toggle.open {
    transform: rotate(180deg);
}
.dropdown-toggle:focus {
    outline: 2px solid var(--secondary-color);
}

@media (max-width: 991px) {
    /* Header & Nav */
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 40px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: none; /* hidden by default on mobile */
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        width: 100%;
        margin-left: 0;
        margin-bottom: 5px;
    }
    .nav-menu li a {
        display: inline-block;
        width: auto;
        padding: 10px 0;
    }
    .nav-menu li a.btn {
        display: inline-block;
        width: max-content;
        margin-top: 8px;
    }

    /* Products row: link + chevron side by side */
    .has-submenu {
        position: relative;    /* keep for any stacking context */
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }
    .has-submenu > a {
        flex: 1;
        margin-bottom: 0 !important;
    }

    /* Show the toggle chevron on mobile */
    .dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(15,44,89,0.07);
        border-radius: 8px;
        color: var(--primary-color);
        font-size: 13px;
        flex-shrink: 0;
    }
    .dropdown-toggle.open i {
        transform: rotate(180deg);
    }
    .dropdown-toggle i {
        transition: transform 0.3s ease;
        display: inline-block;
    }

    /* Mobile submenu — collapsed accordion by default */
    .has-submenu .submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border-top: none;
        border-left: 3px solid var(--secondary-color);
        border-radius: 0 0 6px 6px;
        padding: 0;
        margin: 6px 0 0 0;
        width: 100%;
        min-width: unset;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        background: #f4f6fb;
        flex-basis: 100%;
    }
    .has-submenu .submenu.open {
        max-height: 500px;
    }
    .has-submenu .submenu li {
        width: 100%;
        border-bottom: 1px solid #e8eaf2;
    }
    .has-submenu .submenu li:last-child {
        border-bottom: none;
    }
    .has-submenu .submenu li a {
        padding: 12px 20px;
        font-size: 14px;
        display: block;
        width: 100%;
        color: var(--text-dark);
    }
    .has-submenu .submenu li a:hover {
        background: rgba(15,44,89,0.06);
        color: var(--secondary-color) !important;
        padding-left: 28px;
    }

    .search-icon-nav {
        margin-left: 0;
        margin-top: 10px;
    }
    
    /* Top Bar */
    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner look */
    }
    
    /* Typography */
    .hero-content h1, .contact-hero h1, .about-hero h1, .page-hero h1 {
        font-size: 36px !important;
    }
    h2.section-title {
        font-size: 32px !important;
    }
    
    /* Hero & Sections */
    .hero-slider .slide, .contact-hero, .about-hero, .page-hero {
        min-height: 50vh;
        height: auto;
        padding: 100px 0 60px;
    }
    
    .overlap-cards, .contact-info-cards {
        margin-top: -50px;
        padding-bottom: 40px;
    }
    .feature-card, .info-card {
        margin-bottom: 20px;
    }
    
    /* General Padding */
    .about-preview, .products-preview, .certifications-banner, .testimonials-section, .history-section, .mission-vision-section, .contact-form-section, .product-detail-section, .products-grid-container {
        padding: 60px 0;
    }
    
    /* Form & Map */
    .form-wrapper {
        margin-bottom: 40px;
    }
    .map-container {
        min-height: 400px;
    }
    
    /* About Us - History */
    .history-content {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-widget {
        margin-bottom: 40px;
    }
}
@media (max-width: 767px) {
    /* Fix specific 6-column to 100% on small phones */
    .col-6.form-group, .col-4.gsap-fade-up {
        width: 100%;
    }
    .product-detail-img {
        margin-bottom: 40px;
    }
    /* Logo scaling */
    .logo-container img {
        height: 60px !important;
    }
    .main-header {
        padding: 10px 0;
    }
}
