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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.header {
    background-color: #c8c8c8;
    padding: 0;
    position: relative;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    background-color: #005a9c;
    padding: 20px 40px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo .kht {
    font-size: 48px;
    line-height: 1;
}

.logo .subtitle {
    font-size: 18px;
    letter-spacing: 2px;
}

/* Navigation Styles */
.nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-start;
    padding-left: 20px;
}

.nav a {
    color: #333;
    text-decoration: none;
    padding: 15px 20px;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav a:hover,
.nav a.active {
    background-color: #5ba3d0;
    color: white;
}

/* Contact Info in Header */
.contact-header {
    background-color: #c8c8c8;
    padding: 10px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-header .email,
.contact-header .phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #005a9c;
    font-size: 14px;
}

.contact-header .icon {
    width: 20px;
    height: 20px;
}

/* Main Content Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content {
    padding: 20px;
}

/* Hero Section */
.hero {
    background-image: url('../images/Home.png');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 100px;
    position: relative;
}

.hero-content {
    background-color: rgba(255, 140, 0, 0.9);
    padding: 40px;
    max-width: 500px;
    color: white;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .btn {
    background-color: #005a9c;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s;
}

.hero-content .btn:hover {
    background-color: #003d6b;
}

/* Welcome Section */
.welcome {
    background-color: #3a7ca5;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.welcome h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background-color: white;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    background-color: #ff8c00;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 18px;
}

/* Page Title */
.page-title {
    color: #005a9c;
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #005a9c;
}

/* Section Styles */
.section {
    margin-bottom: 40px;
}

.section h2 {
    color: #005a9c;
    font-size: 24px;
    margin-bottom: 15px;
}

.section h3 {
    color: #ff8c00;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.section p,
.section ul {
    margin-bottom: 15px;
}

.section ul {
    list-style-position: inside;
    padding-left: 20px;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.equipment-item {
    text-align: center;
}

.equipment-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.equipment-item .label {
    background-color: #ff8c00;
    color: white;
    padding: 10px;
    font-weight: bold;
    margin-top: -5px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

table th {
    background-color: #00a8e8;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table .category {
    background-color: #00a8e8;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product-item {
    text-align: center;
}

.product-item img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.product-item .label {
    font-size: 12px;
    margin-top: 10px;
    font-weight: bold;
}

/* Contact Section */
.contact-info {
    background-color: #f5f5f5;
    padding: 30px;
    margin: 20px 0;
}

.contact-info h3 {
    color: #ff8c00;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 5px 0;
}

/* Footer Styles */
.footer {
    background-color: #005a9c;
    color: white;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    flex: 1;
}

.footer-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 14px;
    margin: 5px 0;
}

.footer-contacts {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-contact {
    font-size: 13px;
}

.footer-certifications {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-certifications img {
    height: 60px;
    width: auto;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
    }
    
    .logo {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
        padding: 0;
    }
    
    .nav a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .contact-header {
        justify-content: center;
        padding: 10px 20px;
    }
    
    .hero {
        height: auto;
        padding: 40px 20px;
        justify-content: center;
    }
    
    .hero-content {
        padding: 30px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contacts {
        justify-content: center;
    }
    
    table {
        font-size: 12px;
    }
    
    table th,
    table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .logo .kht {
        font-size: 36px;
    }
    
    .logo .subtitle {
        font-size: 14px;
    }
    
    .nav a {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .section h2 {
        font-size: 20px;
    }
    
    table {
        font-size: 10px;
    }
    
    table th,
    table td {
        padding: 6px;
    }
}

