/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f4f7fa;
    color: #333;
}

/* Header Styles (Consistent with other pages) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    /* lock height */
    background: #ffffff;
    display: flex;
    align-items: center;
    /* 🔑 vertical alignment */
    justify-content: space-between;
    padding: 0 10%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    /* 🔑 */
}

.service-card .card-icon i {
    font-size: 22px;
    color: #fff;
}

.logo img {
    height: 44px;
    /* 🔑 SAME on all pages */
    width: auto;
    display: block;
}


header nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav a:hover,
header nav a.active {
    color: #3498db;
}

header nav a i {
    margin-right: 5px;
}

/* Main Content & Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Service Card General Styles */
.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border-top: 5px solid;
    /* Color will be set by specific class */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

/* Digital Marketing Card Theme */
.service-card.digital-marketing {
    border-color: #2563eb;
}

.service-card.digital-marketing .card-icon {
    background-color: #2563eb;
}

.service-card.digital-marketing .card-icon i {
    font-size: 26px;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    color: #fff;
    font-size: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes the footer down */
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.card-footer a {
    text-decoration: none;
    color: #3498db;
    font-weight: 600;
}

.card-footer span {
    font-size: 0.9rem;
    color: #aaa;
}


/* Color Themes for Cards */
:root {
    --vlsi-color: #5d69f3;
    --mech-color: #8e44ad;
    --elec-color: #27ae60;
    --soft-color: #e67e22;
    --proj-color: #e74c3c;
}

.service-card.vlsi {
    border-color: var(--vlsi-color);
}

.service-card.vlsi .card-icon {
    background-color: var(--vlsi-color);
}

.service-card.mechanical {
    border-color: var(--mech-color);
}

.service-card.mechanical .card-icon {
    background-color: var(--mech-color);
}

.service-card.electrical {
    border-color: var(--elec-color);
}

.service-card.electrical .card-icon {
    background-color: var(--elec-color);
}

.service-card.software {
    border-color: var(--soft-color);
}

.service-card.software .card-icon {
    background-color: var(--soft-color);
}

.service-card.project-management {
    border-color: var(--proj-color);
}

.service-card.project-management .card-icon {
    background-color: var(--proj-color);
}


/* Responsive Design for smaller screens */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* Stack cards in a single column */
    }
}

@media (max-width: 768px) {
    header nav {
        display: none;
        /* Simple responsive tweak for header */
    }
}

/* Data Engineering Card Theme */
.service-card.data-engineering {
    border-color: #0ea5e9;
}

.service-card.data-engineering .card-icon {
    background-color: #0ea5e9;
}