/* Reset default margin and padding */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    background: url('assets/images/training-bg.jpeg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    line-height: 1.6;
}

/* Navigation Bar */
header {
    background: rgba(0, 82, 147, 0.9);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #005293;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff9900;
}

/* Home Section */
.home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 82, 147, 0.7);
    color: white;
    margin: 0;
    border-radius: 0;
}

.home h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.home p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* About Us Section */
.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Courses Section */
.course-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.category {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: left;
}

.category h3 {
    color: #005293;
    border-bottom: 2px solid #ff9900;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category ul {
    list-style: none;
    padding: 0;
}

.category ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.category ul li::before {
    content: '✓';
    color: #ff9900;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Enrollment Section */
.enrollment-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.enrollment-form, .certificate-verify {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: left;
}

.enrollment-form h3, .certificate-verify h3 {
    color: #005293;
    margin-bottom: 20px;
    text-align: center;
}

.enrollment-form label, .certificate-verify label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.enrollment-form input, 
.enrollment-form select,
.enrollment-form textarea,
.certificate-verify input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.enrollment-form input:focus, 
.enrollment-form select:focus,
.enrollment-form textarea:focus,
.certificate-verify input:focus {
    border-color: #005293;
    outline: none;
}

.enrollment-form button, 
.certificate-verify button {
    background: #005293;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    font-weight: 600;
}

.enrollment-form button:hover, 
.certificate-verify button:hover {
    background: #003366;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-info, .quotation-form, .map {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.contact-info h3, .quotation-form h3 {
    color: #005293;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info address {
    font-style: normal;
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-info p {
    margin-bottom: 10px;
}

.quotation-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.quotation-form input, 
.quotation-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.quotation-form button {
    background: #005293;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    font-weight: 600;
}

.quotation-form button:hover {
    background: #003366;
}

.map {
    padding: 0;
    overflow: hidden;
}

/* Footer */
footer {
    background: #005293;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul li {
        margin: 0 10px;
    }
    
    .home h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 15px;
    }
    
    .course-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category {
        width: 100%;
        max-width: 400px;