/* General Styles */
body {
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #1c1c1c; /* Set text color to a deep gray */
}

/* Skip to main content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000000;
    color: #ffffff;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Header Styling */
header {
    background-color: #000000;
    color: #ffffff;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #262626;
}

/* Custom Styling for Skunkworks Title */
.skunkworks-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Navigation Styling */
nav {
    flex-grow: 1;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #1c1c1c;
    padding: 10px 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #1c1c1c;
    text-decoration: none;
    display: block;
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

nav ul li a:hover {
    background-color: #262626;
    color: #ffffff;
}

/* Dropdown Menu Styling */
nav ul li ul {
    display: none;
    position: absolute;
    top: calc(100% + 4px); /* Position dropdown right below the nav item */
    left: 0;
    background-color: #262626;
    padding: 8px 0;
    list-style-type: none;
    z-index: 1000;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    min-width: 180px; /* Ensure dropdown has a minimum width */
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li a {
    padding: 10px 15px;
    font-size: 0.875rem;
    color: #ffffff;
}

nav ul li ul li a:hover {
    background-color: #1c1c1c;
    color: #f1f1f1;
}

/* Burger Menu Styling */
.burger {
    font-size: 28px;
    cursor: pointer;
    display: block;
    color: #ffffff;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.burger:hover {
    background-color: #262626;
}

/* General Section Styling */
.section {
    padding: 40px 20px;
    text-align: center;
    margin: 0 auto;
    max-width: 1200px;
    box-sizing: border-box;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section {
        padding: 30px 15px;
    }

    nav {
        display: none;
        width: 100%;
        background: #333;
        text-align: center;
        position: absolute;
        top: 50px;
        left: 0;
        z-index: 1000;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav.visible {
        display: block;
    }
}

/* Welcome Section Styling */
.welcome-section {
    background: linear-gradient(135deg, #ffffff, #f1f1f1);
    color: #333333;
    padding: 40px 20px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1000px;
}

.welcome-section h1 {
    font-size: 2.5rem;
    color: #1c1c1c;
    margin-bottom: 20px;
    font-weight: 700;
}

.welcome-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 30px;
}

.welcome-section-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border: 2px solid #dddddd;
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-section-content:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.welcome-section-content a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1c1c1c;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.welcome-section-content a:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

/* Improved Grid Layout for Tiles */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto; /* Centers the grid container horizontally */
    padding: 20px;
    box-sizing: border-box; /* Ensures padding doesn't affect the width */
}


/* Specific styling for the framed grid layout */
.framed-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 2px solid #333333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Framed tile styling for each achievement */
.framed-tile {
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex-basis: calc(33.33% - 20px);
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.framed-tile h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.framed-tile p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #dddddd;
}

.framed-tile:hover {
    transform: translateY(-5px);
}

/* Icon styling within framed tiles */
.framed-tile .achievement-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 15px;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .framed-tile {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* Carbon Tile Styling */
.carbon-tile {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    text-align: center;
    color: #1c1c1c;
    transition: background-color 0.3s ease;
}

.carbon-tile:hover {
    background-color: #f1f1f1;
}

.carbon-tile img {
    max-width: 50%;
    height: auto;
    margin-bottom: 10px;
}

/* Form General Styling */
#contactForm {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px;
    background-color: #1c1c1c;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#contactForm .form-group {
    margin-bottom: 32px;
}

#contactForm label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 400;
    color: #cccccc;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 400;
    color: #ffffff;
    background-color: #333333;
    border: 1px solid #444444;
    border-radius: 4px;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #0f62fe;
    box-shadow: 0px 0px 8px rgba(15, 98, 254, 0.5);
}

#contactForm textarea {
    resize: vertical;
    min-height: 120px;
}

#contactForm button {
    background-color: #0f62fe;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
    display: block;
    margin: 48px auto 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

#contactForm button:hover {
    background-color: #0053ba;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Styling */
@media (max-width: 768px) {
    #contactForm {
        padding: 16px;
        box-shadow: none;
        border-radius: 0;
    }

    #contactForm .form-group {
        margin-bottom: 16px;
    }

    #contactForm button {
        margin-top: 24px;
        width: 100%;
    }
}

/* General Heading Styling */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1c1c1c;
}

/* Specific Heading Sizes and Styles */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-top: 20px;
    border-bottom: 2px solid #444444;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin-top: 20px;
    border-bottom: 1px solid #444444;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-top: 20px;
    text-transform: capitalize;
    letter-spacing: 1px;
}

h4 {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-top: 20px;
    text-transform: capitalize;
    letter-spacing: 1px;
}

h5 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-top: 15px;
    text-transform: capitalize;
    letter-spacing: 0.8px;
}

h6 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-top: 10px;
    text-transform: capitalize;
    letter-spacing: 0.8px;
    color: #555555;
}

/* Search Input Styling */
#partnerSearch {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 16px;
    font-size: 1.2rem;
    border: 1px solid #444444;
    border-radius: 4px;
    background-color: #161616;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.5);
}

#partnerSearch:focus {
    border-color: #f4f4f4;
    box-shadow: 0px 0px 8px rgba(15, 98, 254, 0.5);
}

#partnerSearch::placeholder {
    color: #ffffff;
    font-style: italic;
}

/* Partner List Grid */
.partners-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

/* Partner Item Styling */
.partner-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Centered Container Styling */
.centered-container {
    max-width: 400px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    text-align: center;
    color: #1c1c1c;
}

/* LinkedIn Button Styling */
.libutton {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px;
    text-align: center;
    outline: none;
    text-decoration: none !important;
    color: #ffffff !important;
    width: 200px;
    height: 32px;
    border-radius: 16px;
    background-color: #0077b5; /* LinkedIn Blue */
    font-family: "IBM Plex Sans", Arial, sans-serif;
    margin: 10px auto;
}

/* Icon Styling */
.icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.service-icon {
    width: 40px;
    height: 40px;
    display: block;
    margin: 10px auto;
}

/* Footer Styling */
footer {
    background-color: #161616;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
}

/* Button Styling */
button {
    background-color: #161616;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    text-align: center;
    border-radius: 4px;
    display: block;
    margin: 20px auto;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #333333;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
