:root {
    --primary-color: #0a192f; 
    --accent-color: #172a45;  
    --text-light: #ffffff;
    --text-dark: #2d3748;
    --bg-light: #f7fafc;
    --brand-blue: #3182ce;
    --font-stack: 'Segoe UI', system-ui, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-stack); color: var(--text-dark); line-height: 1.6; background-color: var(--bg-light); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

.section-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: rgba(49, 130, 206, 0.1);
    color: var(--brand-blue);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* Header & Nav */
.main-header {
    background-color: var(--primary-color);
    position: fixed;
    width: 100%; top: 0; left: 0; z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}
.main-header.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-color: #06101e;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--text-light); font-size: 1.4rem; letter-spacing: 0.5px; }
.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none; margin-left: 1.5rem;
    font-size: 0.95rem; font-weight: 500; transition: var(--transition-smooth);
}
.nav-links a:hover { color: var(--text-light); }
.nav-links .btn-nav-cta {
    background-color: var(--brand-blue); color: var(--text-light) !important;
    padding: 0.5rem 1.25rem; border-radius: 4px; font-weight: 600;
}
.nav-links .btn-nav-cta:hover { background-color: #2b6cb0; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: white; margin: 5px 0; }

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(23, 42, 69, 0.9)), 
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    height: 100vh; display: flex; align-items: center; color: var(--text-light); padding-top: 80px;
}
.hero-content h1 { font-size: 3.5rem; line-height: 1.15; margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.2rem; max-width: 650px; margin-bottom: 2.5rem; opacity: 0.9; }

.btn-primary, .btn-secondary { display: inline-block; padding: 0.8rem 1.75rem; border-radius: 4px; text-decoration: none; font-weight: 600; transition: var(--transition-smooth); }
.btn-primary { background-color: var(--brand-blue); color: var(--text-light); }
.btn-primary:hover { background-color: #2b6cb0; transform: translateY(-2px); }
.btn-secondary { border: 2px solid var(--text-light); color: var(--text-light); margin-left: 1rem; }
.btn-secondary:hover { background-color: var(--text-light); color: var(--primary-color); transform: translateY(-2px); }

/* Layout Grids & Layout Blocks */
.two-column-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-section, .services-section, .training-section, .gallery-section { padding: 6.5rem 0; }
.about-section { background-color: #ffffff; }
.about-image-placeholder { background: #edf2f7; border-radius: 8px; height: 350px; display: flex; align-items: center; justify-content: center; border: 2px dashed #cbd5e0; }
.placeholder-graphic { color: #718096; font-weight: 600; }

.section-title { font-size: 2.25rem; color: var(--primary-color); margin-bottom: 2.5rem; }
.section-subtitle { font-size: 1.1rem; color: #4a5568; margin-top: -2rem; margin-bottom: 3rem; }

/* Services Layout */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card { background: white; padding: 2.5rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: var(--transition-smooth); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.07); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { margin-bottom: 0.75rem; color: var(--primary-color); }

/* Training Layout */
.training-section { background-color: #ffffff; }
.training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.training-box { background: var(--bg-light); border-left: 5px solid var(--brand-blue); padding: 2rem; border-radius: 0 8px 8px 0; }
.course-code { font-size: 0.8rem; font-weight: 700; color: var(--brand-blue); display: block; margin-bottom: 0.5rem; }
.training-box h3 { margin-bottom: 0.75rem; color: var(--primary-color); }

/* Gallery Dynamic Portfolio Styling */
.gallery-filters { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }
.filter-btn { padding: 0.5rem 1.5rem; border: 1px solid #cbd5e0; background: white; border-radius: 4px; font-weight: 600; cursor: pointer; transition: var(--transition-smooth); }
.filter-btn.active, .filter-btn:hover { background-color: var(--primary-color); color: white; border-color: var(--primary-color); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.gallery-item { position: relative; border-radius: 6px; overflow: hidden; height: 220px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: var(--transition-smooth); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(10, 25, 47, 0.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition-smooth); }
.gallery-overlay h4 { color: white; font-size: 1.1rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }

/* Contact Styles */
.contact-section { padding: 6.5rem 0; background-color: var(--primary-color); color: white; }
.contact-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.contact-title { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-subtitle { opacity: 0.8; margin-bottom: 2.5rem; font-size: 1.1rem; }
.info-details { display: flex; flex-direction: column; gap: 1.75rem; }
.info-item { display: flex; align-items: center; gap: 1.25rem; }
.info-icon { font-size: 1.3rem; background: rgba(255,255,255,0.1); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.info-text small { display: block; font-size: 0.75rem; text-transform: uppercase; opacity: 0.6; }
.info-text a { font-size: 1.15rem; text-decoration: none; font-weight: 600; }

.contact-form-wrapper { background: #ffffff; padding: 3rem; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); color: var(--text-dark); transition: var(--transition-smooth); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--primary-color); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.8rem; border: 1px solid #e2e8f0; border-radius: 4px; font-family: inherit; font-size: 0.95rem; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15); }
.btn-submit { width: 100%; background-color: var(--brand-blue); color: #ffffff; border: none; padding: 1rem; border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition-smooth); }
.btn-submit:hover { background-color: #2b6cb0; }

.form-success-message { text-align: center; color: var(--primary-color); animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.main-footer { background-color: #06101e; color: rgba(255, 255, 255, 0.5); padding: 2rem 0; text-align: center; font-size: 0.9rem; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .two-column-grid, .contact-container { grid-template-columns: 1fr; gap: 3rem; }
    .hero-content h1 { font-size: 2.6rem; }
    .menu-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary-color); flex-direction: column; padding: 2rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .nav-links a { margin: 1rem 0; width: 100%; text-align: center; }
    .nav-links .btn-nav-cta { display: block; }
}