/* styles.css */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

p {
    text-align: justify;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

header {
    background: #fff;
    color: #333;
    padding-top: 15px;
    padding-bottom: 15px;
    min-height: 60px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header a {
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

header a:hover {
    color: #007bff;
}

header ul {
    margin: 0;
    padding: 0;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px;
}

header #branding {
    float: left;
    display: flex;
    align-items: center;
}

header #branding img.logo {
    height: 65px;
}

header nav {
    float: right;
    margin-top: 12px;
}

#hero {
    min-height: 60vh;
    background: linear-gradient(rgba(17, 34, 64, 0.7), rgba(17, 34, 64, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 0 20px;
}

#hero .hero-content {
    max-width: 800px;
}

#hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

#hero p {
    font-size: 22px;
    margin-bottom: 40px;
    color: #e0e0e0;
    text-align: center; /* Center the hero paragraph specifically */
}

.btn {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

h2 {
    color: #112240;
    font-size: 32px;
    margin-bottom: 20px;
}

#about, #services, #experience {
    padding: 80px 0;
}

.section-desc {
    text-align: justify; /* justify this specific paragraph too */
    margin-bottom: 50px;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-wrapper, .experience-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.experience-wrapper {
    align-items: flex-start;
}

.about-text, .experience-list {
    flex: 2;
}

.about-image, .experience-image {
    flex: 1;
}

.about-image img, .experience-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.service-card {
    flex: 1;
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    color: #007bff;
    margin-top: 0;
    font-size: 20px;
}

.experience-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.experience-item {
    background: #fff;
    padding: 30px;
    border-top: 4px solid #007bff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.experience-item h3 {
    margin-top: 0;
    color: #112240;
    font-size: 22px;
}

.bg-light {
    background: #f8f9fa;
}

footer {
    padding: 50px 0;
    background: #112240;
    color: #fff;
    text-align: center;
}

footer p {
    text-align: center; /* Override justify for footer text */
}

footer a {
    color: #64ffda;
    text-decoration: none;
}

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

@media(max-width: 768px) {
    .about-wrapper, .experience-wrapper, .services-grid, .experience-list {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    header li {
        padding: 0 10px;
    }
}

/* New Outsourcing Homepage Styles */
.outsourcing-hero {
    min-height: 75vh !important;
    background: linear-gradient(rgba(17, 34, 64, 0.85), rgba(17, 34, 64, 0.95)), url('images/tech_abstract_1791209993854.jpg') no-repeat center center/cover !important;
}

.outsourcing-hero h2 {
    font-size: 54px;
    margin-bottom: 20px;
}

.services-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.services-row.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

.service-text {
    flex: 1;
}

.service-text h3 {
    color: #112240;
    font-size: 32px;
    margin-bottom: 20px;
}

.service-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

@media(max-width: 768px) {
    .services-row, .services-row.reverse {
        flex-direction: column;
    }
}

/* Fix for service cards text */
.service-card p {
    text-align: left; /* Prevent awkward justification in narrow columns */
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}
