/* --- AIPRI LIFESCIENCES | FINAL BUILD --- */

/* 1. ROOT VARIABLES & GLOBAL STYLES */
:root {
    --primary-blue: #244F71;
    --secondary-blue: #1e40af;
    --accent-green: #198754;
    --accent-orange: #f59e0b;
    --accent-call-blue: #0d6efd;
    --light-bg: #ffffff;
    --secondary-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}



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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

main>section {
    padding: 80px 0;
}

main>section:nth-of-type(odd) {
    background-color: var(--secondary-bg);
    transition: background-color var(--transition);
}

/* 3. HERO & GENERIC CONTENT */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: url('../Media/banner.jpeg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 20, 40, 0.6);
}

.hero-content {
    z-index: 2;
    animation: fadeInDown 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin: 20px auto 0;
    max-width: 700px;
    opacity: 0.9;
}

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

.heading-blue {
    color: var(--secondary-blue);
    font-size: clamp(2rem, 5vw, 2.5rem);
}

[data-theme="dark"] .heading-blue {
    color: #8cb9ff;
}

.subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 15px auto 0;
}

/* 4. ALL SECTIONS & CARDS */
.grid-4-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quality-card,
.values-card,
.detail-card,
.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.quality-card:hover,
.values-card:hover,
.detail-card:hover,
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.quality-card,
.values-card,
.detail-card {
    padding: 30px;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 1.8rem;
}

.quality-card h3,
.values-card h3,
.detail-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-blue);
    font-weight: 600;
}

[data-theme="dark"] .quality-card h3,
[data-theme="dark"] .values-card h3,
[data-theme="dark"] .detail-card h3 {
    color: #8cb9ff;
}

.company-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.detail-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-blue);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.values-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.product-card {
    padding: 0;
    overflow: hidden;
}

.product-image-wrapper {
    height: 220px;
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-content {
    padding: 25px;
}

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

.product-btn {
    display: inline-block;
    margin-top: 20px;
    background-color: var(--secondary-blue);
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.product-btn:hover {
    background-color: var(--primary-blue);
    transform: scale(1.05);
}

/* Quality Standards Section */
.grid-4-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quality-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quality-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Logo wrapper to replace icon wrapper */
.logo-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    padding: 10px;
    border: 1px solid var(--border-color);
}

.quality-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.quality-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-blue);
    font-weight: 600;
}

.quality-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Dark theme support */
[data-theme="dark"] .quality-card h3 {
    color: #8cb9ff;
}

[data-theme="dark"] .logo-wrapper {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-4-col {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .quality-card {
        padding: 20px;
    }
    
    .logo-wrapper {
        width: 70px;
        height: 70px;
    }
}

/* 5. CONTACT SECTION REPLICA */
.contact-section {
    padding: 0;
    background-color: var(--secondary-bg) !important;
}

.contact-banner {
    background-color: var(--secondary-blue);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-main-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    padding: 40px;
    margin-top: -80px;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card-heading {
    color: var(--secondary-blue);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--secondary-bg);
    transition: var(--transition);
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-box i {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 15px;
}

.info-box h4 {
    margin-bottom: 10px;
    color: var(--secondary-blue);
}

.contact-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-inquiry {
    background-color: var(--secondary-blue);
    color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-call {
    background-color: var(--accent-call-blue);
    color: white;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 6. FOOTER */
.site-footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: white;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-whatsapp-footer {
    background-color: #25D366;
    color: white;
}

.btn-call-footer {
    background-color: var(--accent-call-blue);
    color: white;
}

.btn-linkedin {
    background-color: #0A66C2;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}


/* 10. RESPONSIVE STYLES */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    #nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    #nav ul.active {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .sub-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .grid-4-col {
        grid-template-columns: 1fr;
    }
    
    .contact-button-group {
        flex-direction: column;
    }
    
    .floating-action-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .contact-main-card {
        padding: 25px;
    }
    
    .modal-content {
        width: 95%;
    }
}

/* 11. HERO BUTTONS STYLES */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-explore {
    background-color: var(--accent-green);
    color: white;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-contact-hero {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.hero-btn::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;
    z-index: -1;
}

.hero-btn:hover::before {
    left: 100%;
}

.btn-explore:hover {
    background-color: #157347;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
}

.btn-contact-hero:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* 12. ABOUT SUTURES SECTION */
.about-sutures {
    background-color: var(--light-bg);
    transition: background-color var(--transition);
}

.about-sutures-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.about-sutures-text h2 {
    color: var(--secondary-blue);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-sutures-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-sutures-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
/* 
.sutures-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-prev,
.slider-next {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-blue);
}

.slider-prev:hover,
.slider-next:hover {
    background-color: white;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

.about-sutures-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.content-left h3,
.content-right h3 {
    color: var(--secondary-blue);
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
} */
 /* Sutures Slider with Enhanced Animations */
.sutures-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    perspective: 1000px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 1000;
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    z-index: 2;
}

.slide.prev {
    transform: translateX(-100px) scale(0.95);
    opacity: 0.3;
    z-index: 1;
}

.slide.next {
    transform: translateX(100px) scale(0.95);
    opacity: 0.3;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.2s ease-out;
}

.slide.active img {
    transform: scale(1);
}

/* Slide Content Animations */
.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.6s ease-out 0.3s;
}

.slide.active .slide-overlay {
    transform: translateY(0);
}

.slide-title {
    font-size: 2rem;
    margin-bottom: 10px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease-out 0.5s;
}

.slide-desc {
    font-size: 1.1rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease-out 0.7s;
}

.slide.active .slide-title,
.slide.active .slide-desc {
    transform: translateY(0);
    opacity: 1;
}

/* Enhanced Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-prev,
.slider-next {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.slider-prev:hover,
.slider-next:hover {
    background-color: white;
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-prev:active,
.slider-next:active {
    transform: scale(1.05) translateY(0);
}

/* Enhanced Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.dot:hover::before {
    left: 100%;
}

.dot.active {
    background-color: white;
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.dot:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), white);
    width: 0%;
    transition: width 0.1s linear;
}

/* Auto-play indicator */
.auto-play-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 10;
    animation: pulse 2s infinite;
}

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

/* Hover pause effect */
.sutures-slider:hover .auto-play-indicator {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sutures-slider {
        height: 400px;
    }
    
    .slide-overlay {
        padding: 30px 20px 20px;
    }
    
    .slide-title {
        font-size: 1.6rem;
    }
    
    .slide-desc {
        font-size: 1rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 44px;
        height: 44px;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .sutures-slider {
        height: 350px;
    }
    
    .slide-overlay {
        padding: 25px 15px 15px;
    }
    
    .slide-title {
        font-size: 1.4rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
}

/* About Sutures Content */
.about-sutures-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.content-left h3,
.content-right h3 {
    color: var(--secondary-blue);
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInLeft 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.type-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-blue);
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.type-card h4 {
    color: var(--secondary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.type-card ul {
    list-style-type: none;
}

.type-card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.type-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-text h4 {
    color: var(--secondary-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* 13. PRODUCTS SECTION */
.products {
    background-color: var(--secondary-bg);
    transition: background-color var(--transition);
}

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

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

.main-heading {
    color: var(--secondary-blue);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.item {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.image-holder {
    height: 250px;
    overflow: hidden;
}

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

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

.content {
    padding: 30px;
}

.content h3 {
    color: var(--secondary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.features {
    margin-bottom: 25px;
}

.points {
    list-style-type: none;
}

.points li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.details-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
}

.details-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 14. COMPANY SECTION */
.company-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.company-detail-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.company-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.detail-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon-wrapper i {
    font-size: 2rem;
}

.company-detail-card h3 {
    color: var(--secondary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}



  .corevalue-section {
            padding: 60px 0;
            text-align: center;
        }

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

        .corevalue-title-container {
            margin-bottom: 50px;
        }

        .corevalue-main-title {
            font-size: 36px;
            color: #0d3d6e; /* Dark Blue */
            margin-bottom: 10px;
        }

        .corevalue-subtitle {
            font-size: 18px;
            color: #6c757d; /* Grey */
            max-width: 700px;
            margin: 0 auto;
        }

        .corevalue-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        .corevalue-card {
            background-color: #ffffff;
            border-radius: 12px;
            padding: 35px 25px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .corevalue-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .corevalue-icon-wrapper {
            width: 80px;
            height: 80px;
            margin: 0 auto 25px auto;
            /* background-color: #ffffff;  */
            border-radius: 50%; /* Makes it a circle */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .corevalue-icon {
            width: 100px; /* Adjust icon size as needed */
            height: auto;
        }

        .corevalue-content {
            margin-top: 20px;
        }
        
        .corevalue-content-title {
            font-size: 20px;
            color: #0d3d6e; /* Dark Blue */
            margin-bottom: 15px;
        }

        .corevalue-content-text {
            font-size: 15px;
            color: #6c757d; /* Grey */
            line-height: 1.6;
        }
        
        /* Responsive design for tablets and mobile */
        @media (max-width: 992px) {
            .corevalue-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .corevalue-grid {
                grid-template-columns: 1fr;
            }
        }
/* 16. RESPONSIVE STYLES FOR NEW SECTIONS */
@media (max-width: 1024px) {
    .about-sutures-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-sutures-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-sutures-text h2 {
        font-size: 1.8rem;
    }
    
    .sutures-slider {
        height: 300px;
    }
    
    .content-left h3,
    .content-right h3 {
        font-size: 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    .core-values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-sutures-text h2 {
        font-size: 1.5rem;
    }
    
    .sutures-slider {
        height: 250px;
    }
    
    .type-card,
    .feature-item {
        padding: 20px;
    }
    
    .content {
        padding: 20px;
    }
    
    .company-detail-card {
        padding: 20px;
    }
    
    .value-content {
        padding: 20px;
    }
}

/* 17. UTILITY CLASSES */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* 18. DARK MODE TOGGLE (OPTIONAL) */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s;
}

[data-theme="dark"] .theme-toggle {
    color: var(--text-light);
}

/* --- DROPDOWN MENU STYLES --- */

/* Dropdown Menu Styles - Horizontal Layout */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    min-width: 800px;
    max-width: 900px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 1000;

}

.dropdown-container {
    padding: 30px;
    z-index: 1000;

}

.dropdown-section h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-blue);
    z-index: 1000;

}

.dropdown-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 25px;
    z-index: 1000;

}

.dropdown-column h5 {
    color: var(--secondary-blue);
    font-size: 1.1rem;
    margin-bottom: 15px;
    z-index: 1000;
    font-weight: 600;
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column ul li {
    margin-bottom: 8px;
}

.dropdown-column ul li a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    z-index: 1000;

}

.dropdown-column ul li a:hover {
    background-color: var(--secondary-bg);
    color: var(--secondary-blue);
    transform: translateX(5px);
    z-index: 1000;

}

.dropdown-featured {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    z-index: 1000;

}

.featured-product {
    display: flex;
    z-index: 1000;

    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--secondary-bg), var(--card-bg));
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-blue);
}

.featured-product img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.featured-content h5 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.featured-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.featured-btn {
    background-color: var(--secondary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.featured-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        min-width: auto;
        max-width: none;
        background-color: transparent;
        border: none;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-container {
        padding: 15px;
    }
    
    .dropdown-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-product {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-product img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
}

/* Enhanced Navigation Styles */
#nav ul li a {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

#nav ul li a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover #nav ul li a i {
    transform: rotate(180deg);
}

/* Dropdown Animation Enhancement */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--card-bg);
}

[data-theme="dark"] .dropdown-menu::before {
    border-bottom-color: var(--card-bg);
}

/* Hover Effects for Dropdown Items */
.dropdown-column ul li a::before {
    content: '▸';
    margin-right: 8px;
    color: var(--secondary-blue);
    transition: transform 0.3s ease;
}

.dropdown-column ul li a:hover::before {
    transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 700px;
        max-width: 750px;
    }
    
    .dropdown-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .dropdown-menu {
        min-width: 600px;
        max-width: 650px;
    }
}

/* Smooth Transitions */
.dropdown-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Ensure proper z-index stacking */
#header {
    z-index: 1000;
}

.dropdown-menu {
    z-index: 1001;
}

/* Mobile Menu Button Animation */
.mobile-menu-button {
    transition: transform 0.3s ease;
}

.mobile-menu-button.active {
    transform: rotate(90deg);
}

/* Touch Device Improvements */
@media (hover: none) {
    .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* // NAVBAR----------- */

  
        /* Custom Navbar Styles */
        .medical-navbar {
            background-color: var(--light-bg);
            box-shadow: var(--shadow-md);
            padding: 12px 0;
            transition: var(--transition);
            font-weight: 600;
        }

        .medical-navbar.scrolled {
            padding: 8px 0;
            box-shadow: var(--shadow-lg);
        }

        .medical-logo {
            height: 70px;
            transition: var(--transition);
        }

        .medical-nav-link {
            color: var(--text-dark) !important;
            font-weight: 500;
            padding: 8px 16px !important;
            margin: 0 4px;
            border-radius: 6px;
            transition: var(--transition);
            position: relative;
        }

        .medical-nav-link:hover, 
        .medical-nav-link:focus {
            color: var(--primary-blue) !important;
            background-color: var(--secondary-bg);
            transform: translateY(-2px);
        }

        .medical-nav-link.active {
            color: var(--primary-blue) !important;
            font-weight: 600;
        }

        .medical-nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 16px;
            right: 16px;
            height: 2px;
            background-color: var(--primary-blue);
            border-radius: 2px;
        }

        /* Dropdown Styles */
        .medical-dropdown-menu {
            border: none;
            box-shadow: var(--shadow-lg);
            border-radius: 8px;
            padding: 8px 0;
            min-width: 260px;
            border-top: 3px solid var(--primary-blue);
        }

        .medical-dropdown-item {
            padding: 10px 20px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            color: var(--text-dark);
            text-decoration: none;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
        }

        .medical-dropdown-item:hover {
            background-color: var(--secondary-bg);
            color: var(--primary-blue);
            padding-left: 25px;
        }

        .medical-dropdown-item i {
            width: 20px;
            margin-right: 10px;
            color: var(--primary-blue);
        }

        .medical-dropdown-divider {
            margin: 8px 0;
        }

        /* Multi-level Dropdown */
        .medical-dropdown-submenu {
            position: relative;
        }

        .medical-dropdown-submenu > .medical-dropdown-menu {
            position: absolute;
            top: -8px;
            left: 100%;
            display: none;
            border-radius: 0 8px 8px 8px;
        }

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

        .medical-dropdown-submenu > .medical-dropdown-item::after {
            content: "\f105";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-left: auto;
            transition: var(--transition);
        }

        .medical-dropdown-submenu:hover > .medical-dropdown-item::after {
            transform: rotate(90deg);
            color: var(--accent-green);
        }

        .medical-nested-item {
            padding-left: 40px !important;
            font-size: 0.9rem;
        }

        .medical-category-header {
            font-weight: 600;
            color: var(--primary-blue);
            padding: 8px 20px;
            margin-top: 8px;
            border-bottom: 1px solid var(--border-color);
            background-color: var(--secondary-bg);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Button Styles */
        .medical-btn-catalog {
            background-color: var(--accent-green);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 16px;
            font-weight: 500;
            transition: var(--transition);
            
        }

        .medical-btn-catalog:hover {
            background-color: #157347;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .medical-btn-contact {
            background-color: var(--accent-green);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 16px;
            font-weight: 500;
            transition: var(--transition);
        }

        .medical-btn-contact:hover {
            background-color: #0b5ed7;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* Toggler Styles */
        .medical-navbar-toggler {
            border: none;
            padding: 4px 8px;
            background: transparent;
        }

        .medical-navbar-toggler:focus {
            box-shadow: none;
            outline: 2px solid var(--primary-blue);
            border-radius: 4px;
        }

        .medical-navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(37, 79, 113, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            width: 50px;
            height: 70px;
        }

        /* Mobile Responsive */
        @media (max-width: 991.98px) {
            .medical-navbar-collapse {
                padding-top: 16px;
            }
            
            .medical-nav-link {
                margin: 4px 0;
                text-align: center;
            }
            
            .medical-btn-catalog, 
            .medical-btn-contact {
                margin: 8px 0;
                width: 100%;
                text-align: center;
            }

            .medical-dropdown-submenu > .medical-dropdown-menu {
                position: static;
                margin-left: 20px;
                border-radius: 6px;
                box-shadow: none;
                border: 1px solid var(--border-color);
                display: none;
            }
            
            .medical-dropdown-submenu > .medical-dropdown-item::after {
                display: none;
            }

            /* Mobile submenu toggle */
            .medical-dropdown-submenu.mobile-open > .medical-dropdown-menu {
                display: block !important;
            }
        }


        /* Fix for dropdown positioning */
        .dropdown-menu {
            z-index: 1000;
        }


/* 7. MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 0;
    margin-bottom: 20px;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
}

.modal-close-btn:hover {
    color: var(--text-dark);
}

.inquiry-form {
    padding: 0 30px 30px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--light-bg);
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background-color: var(--primary-blue);
}

/* 8. FLOATING ACTION BUTTONS */
.floating-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    color: white;
}

#scrollTopBtn {
    background-color: var(--primary-blue);
}

.email-btn {
    background-color: orange;
    text-decoration: none;
}

.whatsapp-btn {
    background-color: #25D366;
    text-decoration: none;
}

.inquire-now-btn {
    background-color: var(--accent-green);
}

.fab-btn:hover {
    transform: scale(1.1);
}

/* 9. ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.anim-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* 7. MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 0;
    margin-bottom: 25px;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), transparent);
    border-radius: 2px;
}

.modal-close-btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close-btn:hover {
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.inquiry-form {
    padding: 0 30px 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 50px;
}

.form-group textarea {
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(var(--secondary-blue-rgb), 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::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;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--secondary-blue-rgb), 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* 8. FLOATING ACTION BUTTONS */
.floating-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.fab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fab-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.fab-btn:hover::before {
    opacity: 1;
}

#scrollTopBtn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2980b9 100%);
}

.email-btn {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    text-decoration: none;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    text-decoration: none;
}

.inquire-now-btn {
    background: linear-gradient(135deg, var(--accent-green) 0%, #27ae60 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--accent-green-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--accent-green-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-green-rgb), 0);
    }
}

/* 9. ENHANCED ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.anim-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Form validation styles */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: var(--accent-green);
    background: rgba(39, 174, 96, 0.05);
}

/* Loading state for submit button */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success state animation */
.submit-btn.success {
    background: linear-gradient(135deg, var(--accent-green) 0%, #27ae60 100%);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 25px 25px 0;
    }
    
    .inquiry-form {
        padding: 0 25px 25px;
    }
    
    .floating-action-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .fab-btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .modal-content {
        border: 2px solid var(--text-dark);
    }
    
    .form-group input,
    .form-group textarea {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .modal-overlay,
    .modal-content,
    .fab-btn,
    .submit-btn,
    .modal-close-btn {
        transition: none;
        animation: none;
    }
    
    .fab-btn:hover {
        transform: none;
    }
}



/* ===== INQUIRY FORM WRAPPER ===== */
.inquiry-wrapper {
    width: 100%;
    padding: 20px 10px;
    background: #f4f6fb;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.inquiry-card {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

/* Heading */
.inquiry-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2933;
    margin: 0 0 4px;
    text-align: left;
}

.inquiry-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 15px;
}

/* Form layout */
.inquiry-form {
    width: 100%;
}

/* Each field group */
.form-group {
    margin-bottom: 14px;
}

.form-group-inline {
    display: flex;
    gap: 10px;
}

.form-group-inline .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Label */
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

/* Inputs, select, textarea */
.form-control,
.form-select,
.form-textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    box-sizing: border-box;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

/* Textarea */
.form-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Placeholder */
.form-control::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
    font-size: 12px;
}

/* Small hint text */
.form-hint {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}

/* Radio / checkbox groups */
.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    margin: 0;
}

/* Rating (for "How did you like our service?") */
.rating-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-pill {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
}

.rating-pill input {
    display: none;
}

.rating-pill span {
    display: inline-block;
}

.rating-pill-active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Submit button */
.btn-submit {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
    margin-top: 6px;
    text-decoration: none;
}

.btn-submit:hover {
    background: #1d4ed8;
}

/* Small footer text inside form */
.form-footer-note {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 10px;
}

/* ====== RESPONSIVE (for mobile) ====== */
@media (max-width: 600px) {
    .inquiry-card {
        padding: 16px 14px;
        border-radius: 10px;
    }

    .inquiry-title {
        font-size: 18px;
    }

    .form-group-inline {
        flex-direction: column;
    }
}



/* Company Card Hover Animation (same as Core Value) */
.company-detail-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.company-detail-card:hover {
    transform: translateY(-10px) scale(1.03);
    opacity: 0.97;
    box-shadow: var(--shadow-lg);
}

/* Icon slight bounce effect */
.detail-icon-wrapper {
    transition: transform 0.4s ease;
}

.company-detail-card:hover .detail-icon-wrapper {
    transform: translateY(-5px);
}

/* -------------------------- */
.company-detail-card {
    display: block; /* ensure transform applies */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.company-detail-card:hover {
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: var(--shadow-lg);
}

/* Icon bounce */
.detail-icon-wrapper {
    transition: transform 0.35s ease;
}

.company-detail-card:hover .detail-icon-wrapper {
    transform: translateY(-5px);
}
/* Quality Standards Card Hover Animation */
.quality-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.quality-card:hover {
    transform: translateY(-10px) scale(1.03);
    opacity: 0.97;
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

/* Icon bounce effect */
.quality-icon-wrapper {
    transition: transform 0.35s ease;
}

.quality-card:hover .quality-icon-wrapper {
    transform: translateY(-5px);
}

/* Company cards – same style animation as core values */
.company-detail-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.company-detail-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* Icon slight bounce */
.detail-icon-wrapper {
    transition: transform 0.35s ease;
}

.company-detail-card:hover .detail-icon-wrapper {
    transform: translateY(-5px);
}

/* Quality card hover – card moves up */
.quality-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}




/* --- Container --- */
.floating-action-buttons {
    z-index: 9999; /* Ensure it sits on top of everything */
}

/* --- Shared Styles for class 'butnew' --- */
.butnew {
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Primary Blue Color similar to your image */
    background-color: #e64e08;
}

.butnew:hover {
    background-color: #8d4321; /* Darker blue on hover */
}

/* =========================================
   1. RIGHT SIDE STICKY CONTACT BUTTON
   ========================================= */
.contact-sticky-side {
    position: fixed;
    top: 50%;            /* Center vertically */
    right: 0;            /* Stick to the right edge */
    transform: translateY(-50%); /* Perfect centering adjustment */
    
    display: flex;
    flex-direction: column-reverse; /* Puts icon at bottom, text on top */
    align-items: center;
    gap: 12px;
    
    padding: 15px 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    text-decoration: none;
}

/* The Text Rotation */
.contact-sticky-side span {
    writing-mode: vertical-rl; /* Makes text vertical */
    text-orientation: mixed;
    transform: rotate(180deg); /* Flips text to read Bottom-to-Top */
    
    font-family: sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* The Phone Icon */
.contact-sticky-side i {
    font-size: 18px;
    background: rgba(255, 255, 255, 0.2); /* Slight circle background for icon */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   2. SCROLL TO TOP BUTTON (ROUND)
   ========================================= */
.scroll-to-top-round {
    position: fixed;
    bottom: 30px;
    right: 30px;
    
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.scroll-to-top-round:hover {
    transform: translateY(-5px);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media screen and (max-width: 768px) {
    /* Adjust Scroll Button position */
    .scroll-to-top-round {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Adjust Contact Button size */
    .contact-sticky-side {
        padding: 12px 6px;
    }
    
    .contact-sticky-side span {
        font-size: 12px;
    }
    
    .contact-sticky-side i {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}

