  :root {
    --primary: #0056b3;
    --secondary: #e30613;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-blue: #e3f2fd;
    --success: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    /* Change from fixed width to responsive: */
    width: 100%;
    max-width: 1200px; /* Keep your max width but make it flexible */
    padding: 0 15px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}


/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}



nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
}

/* Removed or modified the red underline */
nav a.active::after {
    display: none; /* Or customize as shown above */
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    width: 200px;
    z-index: 100;
    display: none;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: var(--dark);
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: var(--light-blue);
    color: var(--primary);
}

nav li:hover .dropdown-menu {
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #c10510;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url('https://images.unsplash.com/photo-1581595219318-1e1d0b7432c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

@media (max-width: 1300px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .stats-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: var(--primary);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Products Preview */
.products-preview {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 200px;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
    position: relative;
}

.compliance-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-author {
    font-weight: 600;
}

/* Partners */
.partners {
    padding: 60px 0;
    background-color: var(--light);
}

.partners-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-weight: bold;
    opacity: 0.7;
}

.partner-logo:hover {
    color: var(--secondary);
}

/* Page Content Styles */
.page-content {
    padding: 80px 0;
}

.page-header {
    background-color: var(--light-blue);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--primary);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    color: var(--gray);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.catalog-download {
    text-align: center;
    margin: 40px 0;
}

.admin-section {
    background: var(--light);
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    display: none; /* Hidden by default */
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.contact-info-footer {
    list-style: none;
}

.contact-info-footer li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info-footer i {
    color: var(--secondary);
    margin-right: 10px;
    margin-top: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

.developer-link {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.developer-link:hover {
    color: var(--secondary);
}

.admin-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.admin-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Careers Page */
.careers-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.admin-panel {
    background: var(--light);
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    display: none; /* Hidden by default */
}

.vacancies-container {
    min-height: 300px;
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    text-align: center;
    margin-top: 40px;
}

.vacancy-card {
    background: var(--light);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.vacancy-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.vacancy-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--gray);
}

.application-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-top: 30px;
    display: none;
}

.application-form.active {
    display: block;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-box {
    background-color: var(--primary);
    color: white;
    padding: 30px;
    border-radius: 8px;
}

.contact-info-box h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-details i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--secondary);
}

.ai-assistant {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.ai-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.ai-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.ai-messages {
    height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f9f9f9;
}

.ai-input {
    display: flex;
    gap: 10px;
}

.ai-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 86, 179, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 86, 179, 0); }
}

/* Team Section */
.team-section {
    background: var(--light);
    padding: 60px 0;
    margin-top: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.team-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 5px solid var(--light-blue);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.team-info .position {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Admin Login */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    display: none;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    text-align: center;
}

.login-box h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.services-list {
    max-width: 800px;
    margin: 0 auto;
}

.service-category {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.service-category h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-category ul {
    padding-left: 30px;
}

.service-category li {
    margin-bottom: 10px;
    position: relative;
}

.service-category li::before {
    content: "•";
    color: var(--secondary);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.coming-soon {
    background: var(--secondary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 10px;
}

.form-group1 {
    margin-bottom: 20px;
}

.form-group1 label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group1 input,
.form-group1 textarea,
.form-group1 select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.upload-container {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-container:hover {
    border-color: #0056b3;
    background-color: #f8f9fa;
}

.upload-icon {
    font-size: 48px;
    color: #0056b3;
    margin-bottom: 15px;
}

.file-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #e9f7ef;
    border-radius: 4px;
    display: none;
}

.file-info i {
    margin-right: 8px;
    color: #28a745;
}

.status-message {
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
    display: none;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.progress-container {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin: 15px 0;
    overflow: hidden;
    display: none;
}

.progress-bar {
    height: 100%;
    background-color: #0056b3;
    width: 0%;
    transition: width 0.3s ease;
}

.ortho-header {
  position: static !important;
  top: auto !important;
}

.ortho-container {
  max-width: 1200px;
  margin: 2rem auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

.ortho-header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #1a6dcc 0%, #0d4a9e 100%);
  color: white;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.ortho-header h1 {
  margin: 0;
  font-size: 2.5rem;
}

.ortho-section {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.ortho-card {
  padding: 1.5rem;
  border-left: 4px solid #1a6dcc;
  background: #f8faff;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.5rem;
}

.ortho-list {
  padding-left: 1.5rem;
}

.ortho-list li {
  margin-bottom: 0.8rem;
}

.technique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.technique {
  background: #f0f7ff;
  padding: 1.2rem;
  border-radius: 8px;
  border-top: 3px solid #4a90e2;
}

.ortho-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.ortho-table th {
  background-color: #1a6dcc;
  color: white;
  text-align: left;
  padding: 12px 15px;
}

.ortho-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #e0e7ff;
}

.ortho-table tr:nth-child(even) {
  background-color: #f5f9ff;
}

.innovation-section {
  background: linear-gradient(to right, #f8faff, #e6f0ff);
  border-radius: 10px;
  padding: 2rem;
}

.innovation-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.innovation {
  flex: 1;
  min-width: 250px;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.chip {
  display: inline-block;
  background: #1a6dcc;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.ortho-quote {
  font-style: italic;
  text-align: center;
  padding: 2rem;
  background: #f0f7ff;
  border-left: 5px solid #1a6dcc;
  font-size: 1.2rem;
  margin: 2rem 0;
  border-radius: 0 10px 10px 0;
}

.icon {
  margin-right: 10px;
  vertical-align: middle;
}

/* Mobile-First Improvements */
@media (max-width: 992px) {
    /* Improved top bar for mobile */
    .top-bar {
        padding: 6px 0;
        font-size: 0.8rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .social-icons {
        text-align: center;
        margin-top: 5px;
    }
    
    .social-icons a {
        margin: 0 8px;
        font-size: 1rem;
    }
    
    /* Improved mobile navigation */
    .navbar {
        padding: 10px 0;
        position: relative;
    }
    
    .logo img {
        height: 45px;
    }
    
    
    /* Improved hero section for mobile */
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .hero .btn {
        margin: 5px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Improved stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 30px;
        padding: 0 10px;
    }
    
    .stat-card {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    /* Improved features section */
    .features {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .feature-card {
        margin: 0 10px;
    }
    
    /* Improved products section */
    .products-preview {
        padding: 50px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    /* Improved testimonials */
    .testimonials {
        padding: 50px 0;
    }
    
    .testimonial-card {
        margin: 0 15px;
        padding: 20px;
    }
    
    /* Improved footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Improved contact page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form, .contact-info-box {
        margin: 0 10px;
    }
    
    /* Improved team section */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Page content improvements */
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    /* Orthopedic section improvements */
    .ortho-container {
        margin: 1rem auto;
        padding: 0 15px;
    }
    
    .ortho-header {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .ortho-header h1 {
        font-size: 1.8rem;
    }
    
    .technique-grid {
        grid-template-columns: 1fr;
    }
    
    .innovation-card {
        flex-direction: column;
    }
    
    /* Limb container improvements */
    .limb-image {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    
    /* Form improvements */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Utility classes */
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Extra small device improvements */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    /* Mobile menu full screen on very small devices */
    nav ul {
        width: 100%;
        max-width: none;
    }
}

/* Add smooth transitions for all interactive elements */
nav a, .btn, .feature-card, .product-card {
    transition: all 0.3s ease;
}

/* Improve touch targets for mobile */
nav a, .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
}


@media (max-width: 768px) {
  .technique-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== */
/* RESPONSIVE ADDITIONS */
/* ==================== */

/* Remove fixed width constraint */
body {
    min-width: 0 !important; /* Remove the 1200px minimum */
    width: 100%;
}

/* Make container fluid on smaller screens */
.container {
    width: 100%;
    max-width: 1200px; /* Keep max-width but make it fluid below that */
    padding: 0 20px;
}

/* Header responsiveness */
@media (max-width: 992px) {
    .top-bar-content, 
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        margin-top: 10px;
    }
    
    nav li:hover .dropdown-menu {
        display: none;
    }
    
    nav li.active .dropdown-menu {
        display: block;
    }
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        display: none; /* Hidden by default */
    }
    
    nav ul.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
        align-self: flex-end;
        cursor: pointer;
    }
    
    .logo {
        justify-content: space-between;
    }
}


/* Typography adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    .section-title h2 {
        font-size: 2rem !important;
    }
}



    /* Update your grids to be more responsive */
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}


.limb-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 20px 0;
  }
  
  .limb-item {
    text-align: center;
  }
  
  .limb-image {
    width: 300px;
    height: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .limb-image:hover {
    transform: scale(1.03);
    border-color: #2a40b8;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  }
  
  .limb-label {
    margin-top: 12px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: #f81a1a;
    font-size: 1.2em;
  }

  @media (min-width: 768px) {
    .limb-image {
      width: 700px;
      height: 600px;
    }
    .limb-label {
      font-size: 1.4em;
    }
  }

  .services-header {
    text-align: center;
    font-size: 2em;
    margin: 20px 0;
    color: #f81616;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffffff;
  }

  .promo-text {
    text-align: center;
    margin: 0 auto 30px;
    max-width: 600px;
    font-style: italic;
    color: #555;
    line-height: 1.5;
  }

 .excellence-text {
    text-align: center;
    font-size: 1.3rem;
    color: #555; /* Subtle gray */
    position: relative;
    margin: 0 auto 25px;
    max-width: 500px;
}
.excellence-text:before, .excellence-text:after {
    content: "—";
    margin: 0 10px;
    color: var(--primary);
}

.no-vacancies-placeholder {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px dashed #ddd;
  }
  
  .no-vacancies-placeholder i {
    color: #6c757d;
    margin-bottom: 15px;
  }
  
  .no-vacancies-placeholder h4 {
    color: #333;
    margin-bottom: 10px;
  }
  
  .no-vacancies-placeholder p {
    color: #666;
    margin-bottom: 10px;
  }
  
  .no-vacancies-placeholder a {
    color: #0066cc;
    text-decoration: none;
  }
  
  .no-vacancies-placeholder a:hover {
    text-decoration: underline;
  }
  
  .application-form {
    display: none;
    margin-top: 40px;
  }
  
/* Alternative: Responsive navigation that maintains desktop-like appearance */
@media (max-width: 992px) {
  .navbar {
    flex-wrap: wrap;
  }
  
  .logo {
    height: 40px; /* Adjust size for mobile */
    width: 95px; /* Keep same as height for perfect circle */
    margin-right: 0; /* Remove right margin on mobile if needed */
  }
  
  nav {
    flex: 1 0 100%;
    order: 3;
    margin-top: 15px;
  }
  
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  nav li {
    width: auto;
    border-bottom: none;
  }
  
  nav a {
    padding: 8px 12px;
    font-size: 0.9rem;
    background: #f5f5f5;
    border-radius: 4px;
  }
  
  nav a:hover {
    background: var(--primary);
    color: white;
  }
  
  /* Hide mobile toggle elements */
  .menu-toggle,
  .close-menu,
  .menu-backdrop {
    display: none !important;
  }
  
  /* Adjust Request Quote button */
  .navbar .btn {
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

/* For very small screens, stack the nav items */
@media (max-width: 576px) {
  nav ul {
    flex-direction: column;
    gap: 5px;
  }
  
  nav li {
    width: 100%;
  }
  
  nav a {
    text-align: center;
  }
}