/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Background Images */
.tech-background {
    background-image: url('../images/tech-background.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Add a semi-transparent overlay to improve text readability */
.container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Domain Cards with Background Images */
.domain-card {
    position: relative;
    overflow: hidden;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.embedded-bg {
    background-image: url('../images/embedded-systems.jpg');
    background-size: cover;
    background-position: center;
}

.cloud-bg {
    background-image: url('../images/cloud-architecture.jpg');
    background-size: cover;
    background-position: center;
}

.iot-bg {
    background-image: url('../images/iot-solutions.jpg');
    background-size: cover;
    background-position: center;
}

/* Mission Statement */
.mission-statement {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #007bff;
    margin-bottom: 20px;
}

.mission-statement h3 {
    color: #007bff;
    margin-bottom: 15px;
}

.mission-statement ul {
    padding-left: 20px;
}

.mission-statement li {
    margin-bottom: 8px;
}

/* Timeline for Experience */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 4px;
    background: #007bff;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-badge {
    position: absolute;
    left: 50px;
    width: 120px;
    text-align: center;
    background: #007bff;
    color: white;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
    transform: translateX(-50%);
}

.timeline-panel {
    margin-left: 100px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-heading h4 {
    color: #007bff;
    margin-bottom: 5px;
}

.timeline-heading h5 {
    color: #6c757d;
    margin-bottom: 15px;
}

.company-logo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.company-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Cards */
.card {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #007bff;
}

/* Page Titles */
h1.mb-4 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #343a40;
    padding-bottom: 0.5rem;
    padding-top: 1rem;
    border-bottom: 3px solid #007bff;
    display: inline-block;
    margin-bottom: 1.5rem !important;
    margin-top: 1rem;
}

/* Footer */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
