
/* style.css */
/* Base Styles */
:root {
    --primary-color: #003366; /* Dark blue for professionalism */
    --secondary-color: #B22234; /* Red for patriotism */
    --accent-color: #3C78D8; /* Lighter blue */
    --light-color: #FFFFFF;
    --dark-color: #333333;
    --gray-color: #F5F5F5;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 20px auto 0;
}

/* Header Styles */
.header {
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.logo p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    margin-top: 0;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--light-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-color);
}

/* --- START: PASTE THIS ENTIRE BLOCK INTO YOUR STYLE.CSS --- */

/*
  FIX 1: Force the main container to stack its children vertically
  and reset its alignment.
*/
.cmmc-section .cmmc-content {
  display: block; /* Override any "flex" rule to reset the layout */
  text-align: center; /* This will help center the content inside */
}

/*
  FIX 2: Ensure the text block and graphics block take up their own space
  and don't have a fixed width that keeps them on the side.
*/
.cmmc-section .cmmc-text,
.cmmc-section .cmmc-graphics {
  width: 100%; /* Force both containers to take up the full width */
  float: none;   /* Cancel any old float properties */
  margin: 0 auto; /* Center the block itself */
}

/*
  FIX 3: Style the graphics container to center the images inside it.
  This is the flexbox rule from before, now applied correctly.
*/
.cmmc-section .cmmc-graphics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 25px; /* Add some space above the images */
}

/*
  Finally, style the logos themselves as before.
*/
.dib-logo {
  width: 250px;
  height: auto;
}

.dod-logo {
  width: 150px;
  height: auto;
}

/* --- END OF BLOCK --- */

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.experience-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-5px);
}

.client-logo-placeholder {
    height: 80px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    color: var(--dark-color);
    font-weight: 600;
}

.experience-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Frameworks Section */
.frameworks-section {
    background-color: var(--gray-color);
}

.framework {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.framework h3 {
    color: var(--secondary-color);
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
}

.cert-logo-placeholder {
    height: 80px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    color: var(--dark-color);
    font-weight: 600;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
}

.email-protected {
    text-align: center;
    margin-top: 30px;
}

.email-obfuscated .at-sign,
.email-obfuscated .dot-com {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 50px 0 20px;
}

.footer-logo h3 {
    color: var(--light-color);
    margin-bottom: 5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--light-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }

    .nav ul {
        margin-top: 20px;
    }

    .nav ul li {
        margin: 0 10px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .nav ul {
        flex-direction: column;
        align-items: center;
    }

    .nav ul li {
        margin: 10px 0;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }
}
.client-logo {
    max-height: 80px;
    max-width: 200px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Updated Certification Logo Styling */
.cert-logo {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: var(--transition);
}

.cert-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/*
  This CSS will style the container for the images.
*/
.cmmc-graphics {
  display: flex;             /* Aligns child items (the images) in a row */
  justify-content: center;   /* Centers the images horizontally on the page */
  align-items: center;       /* Vertically aligns the images if they have different heights */
  gap: 30px;                 /* Adds a 30px space between the two images */
  margin-top: 20px;          /* Adds some space above the images */
}


