/* ========================================
   1. Base Styles & Variables
   ======================================== */
:root {
  --primary-color: #e62121;
  --primary-dark: #c21a1a;
  --dark-text: #1a1a1a;
  --body-text: #444;
  --bg-white: #ffffff;
  --bg-light-grey: #f7f8fa;
  --border-color: #e0e0e0;
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Roboto", sans-serif;
  background: var(--bg-white);
  color: var(--body-text);
  line-height: 1.6;
}

/* ========================================
   2. Header & Navigation
   ======================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: var(--bg-white);
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav_links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav_links li a {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav_links li a:hover {
  color: var(--primary-color);
}

.login-btn {
  padding: 10px 25px;
}

/* ========================================
   3. Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn.primary {
  background: var(--primary-color);
  color: var(--bg-white);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 33, 33, 0.2);
}

.btn.ghost {
  border: 2px solid var(--border-color);
  color: var(--dark-text);
  background: transparent;
}

.btn.ghost:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-3px);
}

.small-btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ========================================
   4. Hero Section
   ======================================== */
.hero {
  padding: 80px 5%;
  background: var(--bg-white);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1.2;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.hero-content h1 span {
  color: var(--primary-color);
}

.lead {
  font-size: 1.1rem;
  color: var(--body-text);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-media img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
}

/* ========================================
   5. Main Content (Careers & Stats)
   ======================================== */
.main-content-section {
    padding: 80px 5%;
    background: var(--bg-light-grey);
}

.main-content-inner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1.5;
}

.info-card {
    display: flex;
    gap: 25px;
    align-items: center;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.card-content { flex: 1; }

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.card-content p {
    margin-bottom: 24px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-image img {
    max-width: 200px;
    border-radius: 10px;
    object-fit: cover;
}

.stats-card {
    flex: 1;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    align-self: stretch;
}

.stat { margin-bottom: 30px; }
.stat:last-child { margin-bottom: 0; }

.stat h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   6. Features Section
   ======================================== */
.features {
    padding: 80px 5%;
    background: var(--bg-white);
    text-align: center;
}

.features-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.features h2 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* ========================================
   7. CTA Banner & Footer
   ======================================== */
.cta-banner {
    padding: 70px 5%;
    text-align: center;
    background: var(--primary-color);
    color: var(--bg-white);
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-banner .btn.primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.cta-banner .btn.primary:hover {
    background: #f0f0f0;
}

footer {
    background: var(--dark-text);
    color: #bbb;
    padding: 30px 5%;
    text-align: center;
}

/* ========================================
   8. Responsive Design
   ======================================== */
@media (max-width: 1100px) {
    .main-content-inner {
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .nav_links { display: none; } /* Basic mobile nav hiding */
    
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-media { margin-top: 40px; }
    
    .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 { font-size: 2.5rem; }
}

/* ========================================
   9. Certifications Page Styles (Updated)
   ======================================== */

.certifications-page {
    padding: 60px 5%;
    background-color: var(--bg-light-grey);
}

.page-title {
    text-align: center;
    margin-bottom: 20px;
}

.page-title h1 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

/* New Category Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-nav a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    color: var(--body-text);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.category-nav a:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.category-nav a.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(230, 33, 33, 0.2);
}


#courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* Adjusted for larger cards */
    gap: 30px; /* Increased gap for spacing */
    max-width: 1300px;
    margin: 0 auto;
    justify-content: center;
}

/* Updated course card size */
.course-card {
    width: 220px; /* Increased width */
    height: 280px; /* Increased height */
    background: #ececec;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    border-radius: 12px; /* Smoother radius */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.course-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
}

.course-code {
    font-size: 0.8rem;
    color: #777;
    margin-top: 5px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 15px 0;
    font-size: 0.8rem;
    color: var(--body-text);
}

.features-list li {
    margin-bottom: 4px;
}

.buy-now-btn {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
}

.no-courses-message {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.1rem;
    color: var(--body-text);
    padding: 40px;
}

/* ========================================
   10. Enterprise Page Styles
   ======================================== */

/* Hero Section for Enterprise */
.hero-enterprise {
    padding: 80px 5%;
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
}

.hero-enterprise h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-enterprise .lead {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.hero-enterprise .btn.primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.hero-enterprise .btn.primary:hover {
    background-color: #f0f0f0;
}

/* Common Section Title */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 40px;
}

/* Benefits Section */
.benefits-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Solutions Section */
.solutions-section {
    padding: 80px 5%;
    background: var(--bg-light-grey);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.solution-item {
    padding: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.solution-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

/* Contact Form Section */
.contact-section {
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 900px;
    text-align: center;
}
.contact-section p {
    margin-bottom: 30px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}
.form-row {
    display: flex;
    gap: 20px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
}
.contact-form button {
    align-self: center;
    width: auto;
    cursor: pointer;
}

/* Responsive adjustments for Enterprise page */
@media (max-width: 900px) {
    .benefits-section,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .hero-enterprise h1 {
        font-size: 2.2rem;
    }
    .form-row {
        flex-direction: column;
    }
}

/* ========================================
   11. Government Page Styles
   ======================================== */

/* Hero Section for Government */
.hero-government {
    padding: 80px 5%;
    background-color: #0d1a3e; /* A deep, official blue */
    color: var(--bg-white);
    text-align: center;
}

.hero-government h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-government .lead {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.hero-government .btn.primary {
    background-color: var(--bg-white);
    color: #0d1a3e;
}

/* Key Pillars Section */
.pillars-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.pillar-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--primary-color);
}

.pillar-card h3 {
    color: var(--dark-text);
    margin-bottom: 15px;
}

/* Responsive adjustments for Government page */
@media (max-width: 900px) {
    .pillars-section {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .hero-government h1 {
        font-size: 2.2rem;
    }
}























































/* ========================================
   13. Mobile Navigation & Responsive Header
   ======================================== */

/* Container for Login and Hamburger */
.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger-menu .line {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Navigation Container (Fullscreen Overlay) */
.mobile-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-text);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2000;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mobile-nav-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-container nav ul {
    list-style: none;
    padding: 0;
}
.mobile-nav-container nav li {
    margin: 30px 0;
}
.mobile-nav-container nav a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
}
.mobile-nav-container .btn {
    font-size: 1.5rem;
    padding: 15px 40px;
}

/* Close Icon (X) */
.close-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--bg-white);
    font-size: 3rem;
    cursor: pointer;
}

/* Responsive adjustments from global queries */
@media (max-width: 900px) {
    .main-nav {
        display: none; /* Hide desktop nav */
    }
    .hamburger-menu {
        display: flex; /* Show hamburger */
    }
    .login-btn {
        display: none; /* Hide login button in header on mobile */
    }
}












































/* ========================================
   12. Global Responsive Media Queries
   ======================================== */

/* --- For Tablets and Small Desktops (max-width: 1100px) --- */
@media (max-width: 1100px) {
    .container, .main-content-inner, .features-inner {
        padding-left: 3%;
        padding-right: 3%;
    }

    /* Make multi-column sections stack earlier */
    .main-content-inner,
    .benefits-section,
    .pillars-section,
    .solutions-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}


/* --- For Large Mobile Phones and Tablets (max-width: 900px) --- */
@media (max-width: 900px) {
    /* Hide desktop navigation */
    .nav_links {
        display: none; 
    }
    
    /* Adjust header for more space */
    header {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    /* Stack hero section content */
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-media {
        margin-top: 40px;
    }
    
    /* Adjust font sizes for better readability */
    h1, .hero-content h1, .hero-enterprise h1, .hero-government h1 {
        font-size: 2.5rem;
    }
    
    h2, .section-title {
        font-size: 2rem;
    }

    /* Stack card and feature sections */
    .info-cards,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stats .container {
        flex-direction: column;
        gap: 40px;
    }
}


/* --- For Small Mobile Phones (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Further reduce font sizes for the smallest screens */
    h1, .hero-content h1, .hero-enterprise h1, .hero-government h1 {
        font-size: 2.1rem;
    }
    
    h2, .section-title {
        font-size: 1.8rem;
    }

    /* Adjust padding on all major sections */
    .hero, .main-content-section, .features, .certifications-page, .enterprise-page, .government-page {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Stack two-column info cards and contact form rows */
    .info-card, .form-row {
        flex-direction: column;
        text-align: center;
    }
    
    /* Ensure buttons stack nicely in the hero section */
    .hero-ctas {
        justify-content: center;
    }
    
    /* Make certification category navigation wrap better */
    .category-nav {
        justify-content: flex-start;
    }
    .category-nav a {
        flex-grow: 1;
        text-align: center;
    }

    /* Single column for course cards on mobile */
    #courses-container {
        grid-template-columns: 1fr;
    }
    .course-card {
        width: 100%;
        max-width: 320px; /* Prevent card from becoming too wide */
        margin: 0 auto;
    }

    /* Stack footer links */
    .footer-main, .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}