/* Professional Medical Equipment Website CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.top-bar {
    background: #1a252f;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    color: #bdc3c7;
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #3498db;
    margin: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: #3498db;
    color: white;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-container {
    background: white;
}

/* Hero Section with Image Slider */
.hero-section {
    position: relative;
    color: white;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.75), rgba(44, 62, 80, 0.75));
    z-index: 1;
}

/* Medical Equipment Slide Backgrounds */
.hero-slide.slide-1 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="medical1" patternUnits="userSpaceOnUse" width="200" height="200"><rect width="200" height="200" fill="%23f0f4f7"/><circle cx="50" cy="50" r="20" fill="%233498db" opacity="0.3"/><rect x="120" y="30" width="60" height="40" fill="%232c3e50" opacity="0.4"/><circle cx="150" cy="150" r="25" fill="%23e74c3c" opacity="0.3"/></pattern></defs><rect width="1200" height="600" fill="url(%23medical1)"/><text x="600" y="300" text-anchor="middle" fill="%23ffffff" opacity="0.1" font-size="48">DIAGNOSTIC EQUIPMENT</text></svg>');
}

.hero-slide.slide-2 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="medical2" patternUnits="userSpaceOnUse" width="180" height="180"><rect width="180" height="180" fill="%23f8f9fa"/><rect x="20" y="20" width="140" height="80" fill="%2327ae60" opacity="0.3"/><circle cx="90" cy="130" r="15" fill="%233498db" opacity="0.4"/><rect x="120" y="100" width="40" height="60" fill="%23e67e22" opacity="0.3"/></pattern></defs><rect width="1200" height="600" fill="url(%23medical2)"/><text x="600" y="300" text-anchor="middle" fill="%23ffffff" opacity="0.1" font-size="48">SURGICAL INSTRUMENTS</text></svg>');
}

.hero-slide.slide-3 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="medical3" patternUnits="userSpaceOnUse" width="160" height="160"><rect width="160" height="160" fill="%23ecf0f1"/><rect x="10" y="20" width="30" height="50" fill="%23e74c3c" opacity="0.3"/><rect x="50" y="30" width="60" height="20" fill="%233498db" opacity="0.4"/><circle cx="120" cy="80" r="20" fill="%23f39c12" opacity="0.3"/><rect x="30" y="100" width="80" height="30" fill="%232ecc71" opacity="0.3"/></pattern></defs><rect width="1200" height="600" fill="url(%23medical3)"/><text x="600" y="300" text-anchor="middle" fill="%23ffffff" opacity="0.1" font-size="48">MEDICAL SUPPLIES</text></svg>');
}

.hero-slide.slide-4 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="medical4" patternUnits="userSpaceOnUse" width="220" height="220"><rect width="220" height="220" fill="%23f4f6f7"/><rect x="30" y="40" width="80" height="120" fill="%232c3e50" opacity="0.4"/><circle cx="160" cy="60" r="30" fill="%233498db" opacity="0.3"/><rect x="140" y="140" width="60" height="40" fill="%23e74c3c" opacity="0.3"/><rect x="20" y="180" width="40" height="20" fill="%2327ae60" opacity="0.4"/></pattern></defs><rect width="1200" height="600" fill="url(%23medical4)"/><text x="600" y="300" text-anchor="middle" fill="%23ffffff" opacity="0.1" font-size="48">PATIENT MONITORING</text></svg>');
}

.hero-slide.slide-5 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="medical5" patternUnits="userSpaceOnUse" width="240" height="240"><rect width="240" height="240" fill="%23fdfefe"/><rect x="20" y="30" width="50" height="80" fill="%23e74c3c" opacity="0.3"/><rect x="90" y="20" width="70" height="50" fill="%233498db" opacity="0.4"/><circle cx="180" cy="80" r="25" fill="%23f39c12" opacity="0.3"/><rect x="40" y="140" width="120" height="40" fill="%232ecc71" opacity="0.3"/><rect x="180" y="160" width="40" height="60" fill="%239b59b6" opacity="0.3"/></pattern></defs><rect width="1200" height="600" fill="url(%23medical5)"/><text x="600" y="300" text-anchor="middle" fill="%23ffffff" opacity="0.1" font-size="48">LABORATORY EQUIPMENT</text></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    border: none;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    margin: 0 10px 10px 0;
    transition: all 0.3s ease;
    border: 2px solid #3498db;
}

.btn:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #3498db;
    border-color: #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-title h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
    padding-bottom: 10px;
}

.page-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.content-section h3 {
    font-size: 22px;
    color: #34495e;
    margin: 25px 0 15px 0;
}

.content-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

/* Info Cards (for services, products, etc.) */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.info-card {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 25px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}

.info-card ul {
    margin: 10px 0;
    padding-left: 20px;
}

/* Statistics or Highlights */
.stats-section {
    background: #2c3e50;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 36px;
    color: #3498db;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #34495e;
    color: #bdc3c7;
    padding: 40px 0 20px 0;
    text-align: center;
}

.footer-content {
    border-top: 1px solid #4a5f7a;
    padding-top: 20px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .features-grid,
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .btn {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.banner-section {
    background: url('../images/about_banner.png') center center/cover no-repeat;
    position: relative;
    height: 294px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.banner-section .overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text contrast */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-section .container {
    text-align: center;
    z-index: 2;
}

.banner-section .white-text h1,
.banner-section .white-text p {
    color: #fff;
    margin: 0;
    padding: 0.5rem 0;
}



.banner-section2 {
    background: url('../images/service_banner.png') center center/cover no-repeat;
    position: relative;
    height: 294px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.banner-section2 .overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text contrast */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-section2 .container {
    text-align: center;
    z-index: 2;
}

.banner-section2 .white-text h1,
.banner-section2 .white-text p {
    color: #fff;
    margin: 0;
    padding: 0.5rem 0;
}
