/* ===================================
   Hero Slider Section (NEW)
   =================================== */

.hero-section{
    position: relative;
    padding-top: 80px;   /* fixed header spacing */
    margin: 0;
    background: #000;    /* fallback */
}

/* Slider wrapper */
.hero-slider{
    position: relative;
    width: 100%;
    overflow: hidden; /* IMPORTANT: hide only slider overflow */

    /* Full screen feel */
    height: calc(100vh - 80px);
    height: calc(100svh - 80px);
    min-height: 260px;
    max-height: 760px;
}

/* Track (JS will move with translateX) */
.slider-track{
    display: flex;
    height: 100%;
    width: 100%;

    transform: translateX(0%);
    transition: transform 700ms ease-in-out;
    will-change: transform;
}

/* Each slide full width */
.slide{
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

/* Images */
.slide img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Optional overlay */
.hero-slider::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.05) 45%,
        rgba(0,0,0,0.20) 100%
    );
    pointer-events: none;
}

/* Responsive heights */
@media (max-width: 768px){
    .hero-slider{
        height: clamp(220px, 45vh, 420px);
        height: clamp(220px, 45svh, 420px);
        max-height: none;
    }
}

@media (max-width: 480px){
    .hero-slider{
        height: clamp(200px, 38vh, 340px);
        height: clamp(200px, 38svh, 340px);
    }
}
/* ===================================
   General Styles & Variables
   =================================== */
:root {
    --primary-green: #2d7a4f;
    --dark-green: #1f5436;
    --light-green: #3a9461;
    --golden: #c9a961;
    --dark-golden: #b08f45;
    --light-golden: #d4ba7e;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --text-dark: #2c3e50;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--golden);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: 0.3s;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    background-image: 
        linear-gradient(135deg, rgba(45, 122, 79, 0.95) 0%, rgba(31, 84, 54, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232d7a4f" width="1200" height="600"/><g fill-opacity="0.1"><circle fill="%23ffffff" cx="200" cy="100" r="80"/><circle fill="%23ffffff" cx="900" cy="400" r="100"/><circle fill="%23ffffff" cx="600" cy="300" r="60"/><path fill="%23ffffff" d="M100,200 Q200,150 300,200 T500,200"/></g></svg>');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--golden);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInUp 1.2s ease;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1.4s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--golden);
    color: var(--white);
    border-color: var(--golden);
}

.btn-primary:hover {
    background: var(--dark-golden);
    border-color: var(--dark-golden);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* ===================================
   Certifications Banner
   =================================== */
.certifications-banner {
    background: var(--light-gray);
    padding: 30px 0;
    border-bottom: 3px solid var(--golden);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
}

.cert-item i {
    font-size: 36px;
    color: var(--golden);
}

.cert-item span {
    font-weight: 600;
    color: var(--primary-green);
}

/* ===================================
   Image Banners Section
   =================================== */
.banners-section {
    padding: 60px 0;
    background: var(--white);
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.banner-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    height: 280px;
    cursor: pointer;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-item:hover img {
    transform: scale(1.1);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 122, 79, 0.95), transparent);
    padding: 30px 20px;
    color: var(--white);
    transition: padding 0.3s ease;
}

.banner-item:hover .banner-overlay {
    padding: 40px 20px;
}

.banner-overlay h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--golden);
}

.banner-overlay p {
    font-size: 15px;
    opacity: 0.95;
}

/* ===================================
   Section Styles
   =================================== */
.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--golden);
    margin: 0 auto 30px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 50px;
}

/* ===================================
   Introduction Section
   =================================== */
.intro-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
    text-align: center;
}

/* Instruments Showcase */
.instruments-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.showcase-item {
    background: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(45, 122, 79, 0.2);
}

.showcase-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.showcase-item h4 {
    padding: 20px;
    text-align: center;
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 600;
    background: var(--white);
}

/* ===================================
   Product Preview Section
   =================================== */
.products-preview {
    padding: 80px 0;
    background: var(--light-gray);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(45, 122, 79, 0.2);
}

.product-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.product-icon i {
    font-size: 48px;
    color: var(--white);
}

.product-card h3 {
    font-size: 26px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.product-card p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--golden);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 15px;
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-choose-us {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    border-color: var(--golden);
    background: var(--white);
    box-shadow: 0 5px 20px var(--shadow);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 36px;
    color: var(--golden);
}

.feature-box h3 {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content h2 {
    text-align: left;
}

.about-content .title-underline {
    margin-left: 0;
}

.about-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
}

.stat-item h3 {
    font-size: 36px;
    color: var(--golden);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--primary-green);
    font-weight: 500;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
    border-left: 4px solid var(--golden);
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--primary-green);
    margin-bottom: 8px;
    font-size: 20px;
}

.feature-item p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 15px;
}

/* ===================================
   Products Section
   =================================== */
.products-section {
    padding: 80px 0;
    background: var(--white);
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.category-section {
    background: var(--light-gray);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--golden);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dental-icon {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
}

.surgical-icon {
    background: linear-gradient(135deg, var(--golden), var(--light-golden));
}

.category-icon i {
    font-size: 36px;
    color: var(--white);
}

.category-header h3 {
    font-size: 28px;
    color: var(--primary-green);
}

.products-list {
    display: grid;
    gap: 15px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateX(10px);
    box-shadow: 0 3px 10px var(--shadow);
}

.product-item i {
    color: var(--golden);
    font-size: 18px;
}

.product-item span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===================================
   Catalog Download
   =================================== */
.catalog-download {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.catalog-box {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    padding: 50px 60px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(45, 122, 79, 0.3);
}

.catalog-box i {
    font-size: 64px;
    color: var(--golden);
    margin-bottom: 20px;
}

.catalog-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.catalog-box p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.catalog-box .btn {
    background: var(--golden);
    color: var(--white);
}

.catalog-box .btn:hover {
    background: var(--white);
    color: var(--primary-green);
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--golden);
}

.contact-form .btn {
    margin-top: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-box {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--golden);
    font-size: 22px;
}

.info-box h4 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.info-box p {
    color: var(--gray);
    line-height: 1.6;
}

.business-hours {
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    border-radius: 10px;
    margin-top: 10px;
}

.business-hours h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.business-hours p {
    opacity: 0.9;
    line-height: 1.8;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--golden);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--golden);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list i {
    color: var(--golden);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--golden);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--golden);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.footer-certs {
    color: var(--golden);
    font-size: 14px;
}

/* ===================================
   WhatsApp Float Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .product-categories {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .banner-grid,
    .instruments-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        box-shadow: 0 10px 30px var(--shadow);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 32px;
    }

    .product-grid,
    .features-grid,
    .banner-grid,
    .instruments-showcase {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .catalog-box {
        padding: 40px 30px;
    }

    .banner-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .logo img {
        height: 50px;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-categories {
        grid-template-columns: 1fr;
    }

    .category-section {
        padding: 25px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .banner-item {
        height: 220px;
    }

    .showcase-item img {
        height: 200px;
    }
}