/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
}

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

/* Header Styles */
.header {
    /* Fallback for browsers that don't support backdrop-filter */
    background: #f8fafc;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1), 0 1px 6px rgba(0, 0, 0, 0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    /* Fallback for browsers that don't support backdrop-filter */
    background: #ffffff;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Top bar styles removed - not used in current design */

/* Navigation */
.navbar {
    padding: 18px 0;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
    position: relative;
}

.logo-link:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.05));
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.logo-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Logo Responsive Design */
@media (max-width: 768px) {
    .logo-image {
        max-height: 44px;
        max-width: 44px;
        padding: 3px;
    }

    /* Force exact mobile dimensions for JPEG logos */
    .logo-image[src$=".jpeg"], .logo-image[src$=".jpg"] {
        height: 44px !important;
        width: 44px !important;
        max-height: 44px !important;
        max-width: 44px !important;
        min-height: 44px !important;
        min-width: 44px !important;
    }

    .logo-link {
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-height: 40px;
        max-width: 40px;
        padding: 2px;
    }

    /* Force exact small mobile dimensions for JPEG logos */
    .logo-image[src$=".jpeg"], .logo-image[src$=".jpg"] {
        height: 40px !important;
        width: 40px !important;
        max-height: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        min-width: 40px !important;
    }

    .logo-link {
        padding: 2px 4px;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo Image Styling - Optimized for Medical Cross Design */
.logo-image {
    max-height: 75px;
    width: auto;
    max-width: 75px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(8px);
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: logoEntrance 0.8s ease-out;
    /* SVG optimization */
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

/* Special styling for SVG logos */
.logo-image[src$=".svg"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.15);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
    /* Enhanced readability for SVG text */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    shape-rendering: geometricPrecision;
    text-rendering: optimizeLegibility;
}

/* Ensure JPEG logos maintain consistent styling and exact same dimensions */
.logo-image[src$=".jpeg"], .logo-image[src$=".jpg"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15)) !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    /* Force exact dimensions to prevent header height change */
    height: 75px !important;
    width: 75px !important;
    max-height: 75px !important;
    max-width: 75px !important;
    min-height: 75px !important;
    min-width: 75px !important;
    object-fit: contain !important;
    object-position: center !important;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.logo-image:hover {
    transform: scale(1.05) translateY(-1px);
    filter: drop-shadow(0 4px 15px rgba(59, 130, 246, 0.4)) contrast(1.2) brightness(1.1);
    border-color: rgba(59, 130, 246, 0.4);
}

/* Ensure JPEG logos maintain consistent hover effects */
.logo-image[src$=".jpeg"]:hover, .logo-image[src$=".jpg"]:hover {
    transform: scale(1.05) translateY(-1px) !important;
    filter: drop-shadow(0 4px 15px rgba(59, 130, 246, 0.4)) contrast(1.2) brightness(1.1) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

/* Professional Logo - Clean MediPlus Style */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.logo-icon-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    position: relative;
    overflow: hidden;
}

.logo-icon-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 12px;
}

.medical-cross {
    position: relative;
    z-index: 1;
}

.medical-cross::before,
.medical-cross::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 1px;
}

.medical-cross::before {
    width: 3px;
    height: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.medical-cross::after {
    width: 20px;
    height: 3px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Brand Text - Clean and Professional */
.logo-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a8a;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    margin-bottom: -2px;
}

.brand-type {
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    background: transparent;
    margin: 0 2px;
    min-width: 80px;
}

.nav-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-icon i {
    font-size: 16px;
    color: #64748b;
    transition: all 0.3s ease;
}

.nav-menu a:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: #0284c7;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(56, 189, 248, 0.08));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.2), 0 4px 12px rgba(14, 165, 233, 0.1);
}

.nav-menu a:hover .nav-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-color: #0ea5e9;
    transform: scale(1.1);
}

.nav-menu a:hover .nav-icon i {
    color: white;
    transform: scale(1.1);
}

.nav-menu a:hover:before {
    width: 80%;
}

/* Active navigation state */
.nav-menu a.active {
    color: #0284c7 !important;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(56, 189, 248, 0.1)) !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2), 0 2px 6px rgba(14, 165, 233, 0.1) !important;
    transform: translateY(-2px) !important;
}

.nav-menu a.active .nav-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
}

.nav-menu a.active .nav-icon i {
    color: white !important;
}

.nav-menu a.active:before {
    width: 80% !important;
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
}

/* Add margin to navigation menu for better spacing */
.nav-menu {
    margin: 0 20px;
}

/* Fix spacing for Learn More button section */
.learn-more-section {
    margin-top: 30px;
}

/* Social media links styling */
.contact-item a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Formatted address styling */
.address-formatted {
    line-height: 1.6;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}

/* Social media layout in footer - 2 per line */
.footer-section .contact-item:nth-child(n+4) {
    width: 48%;
    display: inline-flex;
    margin-right: 2%;
    margin-bottom: 10px;
}

.footer-section .contact-item:nth-child(6n),
.footer-section .contact-item:nth-child(8n) {
    margin-right: 0;
}

/* Legacy nav icon styles - removed for new structure */

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    min-width: 280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    overflow: hidden;
}

.dropdown .dropdown-menu:before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.08));
}

.dropdown:hover .dropdown-menu,
.dropdown.dropdown-active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown.dropdown-active > a {
    color: #0284c7;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(56, 189, 248, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25), 0 3px 10px rgba(14, 165, 233, 0.15);
}

.dropdown.dropdown-active > a .nav-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-color: #0ea5e9;
    transform: scale(1.05);
}

.dropdown.dropdown-active > a .nav-icon i {
    color: white;
}

.dropdown-menu li {
    margin: 8px 0;
    padding: 0;
}

.dropdown-header {
    padding: 0 0 20px 0 !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    text-align: left;
}

.dropdown-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

.dropdown-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    margin: 4px 0;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: none;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.05));
    color: #1e40af;
    transform: translateX(4px);
}

.dropdown-menu i {
    font-size: 16px;
    color: #64748b;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover i {
    color: #3b82f6;
    transform: scale(1.1);
}

.dropdown-arrow {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    font-size: 10px !important;
    color: #94a3b8 !important;
    transition: transform 0.3s ease !important;
}

.dropdown:hover > a .dropdown-arrow,
.dropdown.dropdown-active > a .dropdown-arrow {
    transform: rotate(180deg);
    color: #0ea5e9 !important;
}

.dropdown > a {
    position: relative;
}

/* Navigation Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.language-selector-nav select {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #475569;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.language-selector-nav select:hover {
    border-color: #0ea5e9;
    background: white;
}

.language-selector-nav select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Footer Certifications Section */
.footer-certifications {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 2px solid #e2e8f0;
    padding: 30px 0;
    margin-top: 20px;
}

.certifications-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.certifications-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.certification-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 80px;
    min-width: 140px;
}

.certification-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.certification-badge.make-in-india {
    padding: 10px 15px;
    background: linear-gradient(135deg, #ff9933 0%, #ff6600 50%, #138808 100%);
    border: 3px solid #138808;
}

.make-in-india-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.iso-badge, .quality-badge {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e3a8a;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.iso-badge {
    color: #059669;
}

.quality-badge {
    color: #dc2626;
}

/* Product Category Pages Styles */
.product-category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

.product-item-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    padding: 10px;
    background: white;
    border-radius: 8px;
    margin: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced SVG product image styling */
.product-image[src$=".svg"] {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
}

.product-image-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23cbd5e1" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><circle cx="8.5" cy="8.5" r="1.5"/><polyline points="21,15 16,10 5,21"/></svg>') no-repeat center center;
    background-size: contain;
    opacity: 0.3;
    z-index: 1;
}

/* Placeholder styling - will be handled by JavaScript */
.product-image-container.no-image .product-image {
    opacity: 0;
}

.product-image-container.has-image::before {
    display: none;
}

.product-item-card:hover .product-image {
    transform: scale(1.05);
}

.product-content {
    padding: 20px 20px 5px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 8px;
    line-height: 1.2;
    height: 1.3rem;
    display: flex;
    align-items: center;
}

.product-header {
    margin-bottom: 12px;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-subtitle {
    font-size: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #059669, #047857);
    padding: 0 8px;
    border-radius: 10px;
    margin: 5px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.1px;
    line-height: 25px;
    height: 25px;
    display: inline-block;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: none;
    overflow: visible;
    transform: scale(0.9);
    transform-origin: left center;
    vertical-align: middle;
}

.product-subtitle-spacer {
    height: 25px;
    margin: 5px 0 0 0;
}

.product-description {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.4;
    height: 84px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.product-specifications {
    margin-bottom: 12px;
}

.product-enquiry-btn {
    width: 100%;
    margin-top: 0;
}


.product-specifications h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-specifications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specifications li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-specifications li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 0.9rem;
}

.product-enquiry-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 28px;
}

.product-enquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.search-box {
    display: flex;
    align-items: center;
    position: relative;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.search-box:hover {
    border-color: #0ea5e9;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.search-box input {
    padding: 8px 40px 8px 15px;
    border: none;
    border-radius: 20px;
    outline: none;
    width: 180px;
    background: transparent;
    font-size: 14px;
    color: #475569;
    transition: all 0.3s ease;
}

.search-box input:focus {
    width: 220px;
}

.search-box input::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

.search-box button {
    position: absolute;
    right: 6px;
    background: #0ea5e9;
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.search-box button:hover {
    background: #0284c7;
    transform: scale(1.05);
}

.appointment-btn {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(14, 165, 233, 0.3);
    font-size: 13px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.appointment-btn:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
main {
    margin-top: 140px;
    min-height: calc(100vh - 140px);
}

/* Hero section styles removed - not used in current design */

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
}

/* Services section styles removed - not used in current design */

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #1e3a8a;
    margin-bottom: 30px;
    white-space: nowrap;
    overflow: visible;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text .btn {
    margin-top: 30px;
}

.about-features {
    list-style: none;
    margin: 30px 0;
}

.about-features li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #333;
}

.about-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 10px;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #3b82f6;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3b82f6;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #d1d5db;
}

.contact-item i {
    margin-right: 10px;
    color: #3b82f6;
    width: 20px;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #374151;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.search-result-description {
    font-size: 14px;
    color: #666;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* Page Sections */
.page-section {
    padding: 80px 0;
}

.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
}

.notification-info {
    background: #3b82f6;
    color: white;
}

.notification-success {
    background: #10b981;
    color: white;
}

.notification-warning {
    background: #f59e0b;
    color: white;
}

.notification-error {
    background: #ef4444;
    color: white;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form Validation Styles */
.error {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}

.error:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Loading Button State */
.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    background: #3b82f6;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Lazy Loading Images */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Enquiry Form Styles - Centered Layout */
.enquiry-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.enquiry-info-centered {
    text-align: center;
    margin-bottom: 40px;
}

.enquiry-info-centered h2 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 16px;
}

.enquiry-info-centered p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Old enquiry content layout for backwards compatibility */
.enquiry-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.enquiry-info h2 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.enquiry-info p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.03));
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 4px 0;
}

.highlight-content p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.enquiry-form-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
}

.btn-secondary {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
    border-color: #cbd5e1;
}

/* Form Mobile Responsiveness */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .enquiry-form-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .enquiry-form-container {
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Indicators */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }

    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }

    .service-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 85px;
        width: 45px;
        height: 45px;
        font-size: 18px;
        transform: none !important;
    }
}

/* Contact Page Styles */
.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details h2 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.contact-details > p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-item-large {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.03));
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 8px 0;
}

.contact-content p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.social-media-section {
    margin-top: 40px;
}

.social-media-section h3 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.social-media-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.whatsapp {
    background: #25d366;
    color: white;
}

.social-link.linkedin {
    background: #0077b5;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

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

.contact-map-section h2 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.map-container {
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.map-directions {
    text-align: center;
}

.map-directions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Enhanced Social Media Links - removed duplicate */

/* Hide Google Maps "View larger map" link */
.map-container {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.map-container iframe {
    pointer-events: auto;
    height: 470px !important;
    margin-bottom: -20px;
}

/* Hide any text links that might appear in Google Maps */
.map-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: white;
    pointer-events: none;
}

/* Enquiry CTA Section */
.enquiry-cta {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    border-radius: 16px;
    border-left: 4px solid #3b82f6;
    text-align: center;
}

.enquiry-cta h3 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 15px;
}

.enquiry-cta p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Contact Features Grid */
.contact-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: #1e40af;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* Enhanced Map Container */
.map-container {
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-page-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .social-media-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-item-large {
        flex-direction: column;
        text-align: center;
    }

    .contact-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .social-media-links {
        grid-template-columns: 1fr;
    }
}

/* Downloads Page Styles */
.downloads-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.downloads-header h2 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 20px;
    font-weight: 700;
}

.downloads-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

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

.download-item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 32px;
    color: white;
}

.download-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 12px;
    line-height: 1.3;
}

.download-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.download-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 12px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.file-size {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 6px;
}

.last-updated {
    font-size: 13px;
    color: #64748b;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.download-btn i {
    font-size: 16px;
}

.downloads-help {
    margin: 50px 0;
}

.help-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.03));
    border-radius: 16px;
    padding: 35px;
    border-left: 4px solid #3b82f6;
    display: flex;
    align-items: center;
    gap: 25px;
}

.help-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-icon i {
    font-size: 28px;
    color: white;
}

.help-content {
    flex: 1;
}

.help-content h3 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 12px;
    font-weight: 600;
}

.help-content p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.downloads-info {
    background: #f8fafc;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.downloads-info h3 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-list li {
    padding: 12px 0;
    color: #475569;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

.info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
}

.info-list li:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

/* Downloads Page Responsive */
@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .download-item {
        padding: 25px;
    }

    .help-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .download-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .downloads-header h2 {
        font-size: 1.6rem;
    }

    .download-content h3 {
        font-size: 1.2rem;
    }

    .downloads-info,
    .help-card {
        padding: 25px;
    }
}

/* Products Page Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 20px auto 0;
    }
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

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

/* Product icons removed as requested */

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}


.product-card .btn {
    margin-top: auto;
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-card .btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Product Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.03));
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0;
    padding-right: 60px;
    line-height: 1.2;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.modal-body {
    padding: 30px 40px;
}

.modal-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 35px;
    text-align: center;
}

.modal-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .modal-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.modal-product-item {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.03));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.modal-product-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.05));
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.modal-product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-product-icon i {
    font-size: 24px;
    color: white;
}

.modal-product-content {
    flex: 1;
    min-width: 0;
}

.modal-product-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 8px 0;
    text-transform: capitalize;
}

.modal-product-content p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.modal-footer {
    padding: 25px 40px 35px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 15px;
    background: #f8fafc;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.modal-footer .btn {
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 130px;
    justify-content: center;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.modal-footer .btn-secondary {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.modal-footer .btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
    border-color: #cbd5e1;
}

/* Products Page Mobile Responsiveness */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 25px 20px;
        min-height: 280px;
    }

    .product-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .product-icon i {
        font-size: 32px;
    }

    .product-card h3 {
        font-size: 1.2rem;
    }

    .modal-content {
        margin: 10px;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-header,
    .modal-body {
        padding: 25px 25px;
    }

    .modal-footer {
        padding: 20px 25px 25px;
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .modal-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-product-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .modal-product-icon {
        width: 50px;
        height: 50px;
    }

    .modal-product-icon i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
        padding-right: 50px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 15px 20px 20px;
    }

    .modal-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .modal-product-content h4 {
        font-size: 1rem;
    }

    .modal-product-content p {
        font-size: 0.9rem;
    }
}

/* Scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
    padding-right: 15px; /* Compensate for scrollbar */
}

/* Custom scrollbar for modal content */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Focus management for modals */
.modal-overlay:focus {
    outline: none;
}

.modal-content:focus {
    outline: none;
}

/* Enhanced accessibility for screen readers */
.modal-overlay[aria-hidden="true"] {
    display: none;
}

.modal-overlay[aria-hidden="false"] {
    display: flex;
}

/* Product Category Pages Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

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

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb span:last-child {
    color: white;
    font-weight: 600;
}

.category-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .category-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .category-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8fafc;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(30, 64, 175, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    background: white;
    color: #3b82f6;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-overlay .btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.product-details {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-details p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.category-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border-left: 4px solid #3b82f6;
    margin-top: 40px;
}

.category-cta h3 {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-cta p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.category-cta .btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-cta .btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Product Category Pages Mobile Responsiveness */
@media (max-width: 768px) {
    .category-products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-item {
        max-width: 400px;
        margin: 0 auto;
    }

    .product-image {
        height: 200px;
    }

    .product-details {
        padding: 20px;
    }

    .product-details h3 {
        font-size: 1.1rem;
    }

    .category-cta {
        padding: 30px 25px;
        margin-top: 30px;
    }

    .category-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 13px;
        gap: 8px;
        margin-bottom: 15px;
    }

    .category-products-grid {
        gap: 20px;
    }

    .product-details h3 {
        font-size: 1rem;
    }

    .product-details p {
        font-size: 0.9rem;
    }

    .feature-tag {
        font-size: 11px;
        padding: 3px 10px;
    }

    .category-cta {
        padding: 25px 20px;
    }

    .category-cta h3 {
        font-size: 1.3rem;
    }

    .category-cta p {
        font-size: 1rem;
    }
}

/* Single Downloads Page Styles */
.downloads-content-single {
    max-width: 900px;
    margin: 0 auto;
}

.download-hero {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.03));
    border-radius: 20px;
    padding: 50px 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.download-hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.download-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.download-icon-large i {
    font-size: 50px;
    color: white;
}

.download-details {
    flex: 1;
}

.download-details h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 15px;
    line-height: 1.2;
}

.download-details > p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}

.download-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #475569;
    font-weight: 500;
}

.feature-item i {
    color: #10b981;
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.download-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.download-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.download-btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.download-btn-primary i {
    font-size: 18px;
}

.downloads-info-single {
    margin-bottom: 40px;
}

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

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.info-card h4 {
    font-size: 1.2rem;
    color: #1e40af;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.download-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.download-cta h3 {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 600;
}

.download-cta p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Single Downloads Page Mobile Responsiveness */
@media (max-width: 768px) {
    .download-hero {
        padding: 35px 25px;
    }

    .download-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .download-icon-large {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .download-icon-large i {
        font-size: 40px;
    }

    .download-details h2 {
        font-size: 1.8rem;
    }

    .download-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 25px;
    }

    .download-actions {
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .download-cta {
        padding: 30px 25px;
    }

    .download-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .download-hero {
        padding: 30px 20px;
    }

    .download-details h2 {
        font-size: 1.6rem;
    }

    .download-details > p {
        font-size: 1rem;
    }

    .download-btn-primary {
        padding: 14px 24px;
        font-size: 15px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-card {
        padding: 20px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .download-cta {
        padding: 25px 20px;
    }

    .download-cta h3 {
        font-size: 1.3rem;
    }

    .download-cta p {
        font-size: 1rem;
    }
}

/* Infrastructure Page Styles */
.infrastructure-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.infrastructure-intro h2 {
    font-size: 2.2rem;
    color: #1e40af;
    margin-bottom: 20px;
    font-weight: 700;
}

.infrastructure-intro p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .infrastructure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .infrastructure-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.infrastructure-item {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.infrastructure-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.infrastructure-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.infrastructure-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
    line-height: 1.3;
}

.infrastructure-item p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.infrastructure-highlights {
    margin-bottom: 50px;
}

.infrastructure-highlights h2 {
    font-size: 2rem;
    color: #1e40af;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

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

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.03));
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.highlight-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    transform: translateX(0);
}

.highlight-item i {
    font-size: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    line-height: 1.5;
}

.infrastructure-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border-left: 4px solid #3b82f6;
}

.infrastructure-cta h3 {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 600;
}

.infrastructure-cta p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Achievements Page Styles */
.achievements-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.achievements-intro h2 {
    font-size: 2.2rem;
    color: #1e40af;
    margin-bottom: 20px;
    font-weight: 700;
}

.achievements-intro p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .achievements-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.03));
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

@media (min-width: 768px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .achievements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.achievement-item {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.achievement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.achievement-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
    line-height: 1.3;
}

.achievement-item p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.achievement-year {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.achievements-timeline {
    margin-bottom: 50px;
}

.achievements-timeline h2 {
    font-size: 2rem;
    color: #1e40af;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 100px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.5s ease;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.achievements-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border-left: 4px solid #3b82f6;
}

.achievements-cta h3 {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 600;
}

.achievements-cta p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Infrastructure and Achievements Mobile Responsiveness */
@media (max-width: 768px) {
    .infrastructure-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .infrastructure-item,
    .achievement-item {
        padding: 25px 20px;
    }

    .infrastructure-icon,
    .achievement-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .infrastructure-intro h2,
    .achievements-intro h2,
    .achievements-timeline h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .highlight-item {
        padding: 15px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-year {
        width: 40px;
        height: 40px;
        font-size: 12px;
        left: 0;
    }

    .timeline-content {
        padding: 20px;
    }

    .infrastructure-cta,
    .achievements-cta {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .infrastructure-intro h2,
    .achievements-intro h2 {
        font-size: 1.6rem;
    }

    .achievements-timeline h2 {
        font-size: 1.5rem;
    }

    .infrastructure-intro p,
    .achievements-intro p {
        font-size: 1rem;
    }

    .infrastructure-item h3,
    .achievement-item h3 {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .achievements-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 20px;
    }

    .achievement-year {
        position: static;
        margin-bottom: 15px;
        display: inline-block;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }

    .infrastructure-cta h3,
    .achievements-cta h3 {
        font-size: 1.5rem;
    }

    .infrastructure-cta p,
    .achievements-cta p {
        font-size: 1rem;
    }
}

/* Chatbot Styles */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    z-index: 1001;
    color: white;
    font-size: 24px;
}

.chat-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
}

.chat-button.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

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

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
}

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

.chat-header {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.chat-details span {
    font-size: 12px;
    opacity: 0.8;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
}

.chat-message {
    margin-bottom: 20px;
    display: flex;
    animation: fadeInUp 0.3s ease-out;
}

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

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    position: relative;
}

.message-text {
    padding: 12px 16px;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 14px;
    word-wrap: break-word;
}

.chat-message.user .message-text {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-bottom-right-radius: 6px;
}

.chat-message.bot .message-text {
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 6px;
}

.message-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
    text-align: right;
}

.chat-message.bot .message-time {
    text-align: left;
}

.chat-typing {
    padding: 15px 20px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid #e5e7eb;
}

.typing-indicator {
    display: flex;
    gap: 3px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
.typing-indicator span:nth-child(3) { animation-delay: 0; }

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-input-container {
    background: white;
    border-top: 1px solid #e5e7eb;
}

.chat-quick-replies {
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #f8fafc;
}

.quick-reply-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-reply-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    transform: translateY(-1px);
}

.chat-input {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 12px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input input:focus {
    border-color: #3b82f6;
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.chat-send-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: scale(1.05);
}

/* Chatbot Mobile Responsiveness */
@media (max-width: 768px) {
    .chat-window {
        width: calc(100vw - 30px);
        right: 15px;
        bottom: 90px;
        height: 450px;
    }

    .chat-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 22px;
    }

    /* Ensure proper mobile button spacing */
    .scroll-to-top {
        bottom: 20px !important;
        right: 85px !important;
    }

    .chat-messages {
        padding: 15px;
    }

    .message-text {
        font-size: 13px;
        padding: 10px 14px;
    }

    .chat-input {
        padding: 15px;
    }

    .chat-quick-replies {
        padding: 12px 15px;
    }

    .quick-reply-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 80px;
        height: 400px;
        border-radius: 12px;
    }

    .chat-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 20px;
    }

    .chat-header {
        padding: 15px;
    }

    .chat-messages {
        padding: 12px;
    }

    .message-content {
        max-width: 85%;
    }

    .message-text {
        font-size: 12px;
        padding: 8px 12px;
    }

    .chat-input {
        padding: 12px;
        gap: 8px;
    }

    .chat-send-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .quick-reply-btn {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* Custom scrollbar for chat messages */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}