/* Google Fonts Request */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --primary-brand: #8e2b5d;
    /* Burgundy from Logo */
    --primary-brand-dark: #6e1d45;
    --primary-brand-light: #f7e6ef;
    --secondary-grey: #f4f6f8;
    /* Professionalism */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --accent-gold: #c5a059;
    /* Complimentary accent if needed */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(142, 43, 93, 0.9) 0%, rgba(80, 20, 50, 0.85) 100%);

    /* Spacing */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-brand-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-medium);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-brand);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-brand);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    /* Subtle zoom for professional feel */
}

.wa-link {
    color: #25D366 !important;
    margin-left: 8px;
    font-size: 1.1rem;
    transition: transform 0.2s;
    display: inline-block;
}

.wa-link:hover {
    transform: scale(1.2);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-brand);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-brand);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-brand);
    z-index: 1001;
    /* Ensure distinct from logo */
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    background-image: url('../assets/hero.jpg');
    /* Placeholder path */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: -80px;
    /* Pull behind fixed header if transparent, but here header is solid sticky */
    padding-top: 80px;
    /* Offset for content */
}

/* Override for sticky header interaction */
.hero {
    margin-top: 0;
    padding-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.85;
    /* Adjust based on image brightness */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px !important;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Pillars Section */
.pillars {
    background-color: var(--secondary-grey);
}

.pillars-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pillar-card {
    flex: 1 1 280px;
    max-width: 380px;
    /* Prevent full-width on last row */
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-brand);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-brand-light);
    color: var(--primary-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    transition: var(--transition-medium);
}

.pillar-card:hover .icon-box {
    background: var(--primary-brand);
    color: var(--white);
}

.pillar-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-brand-dark);
}

.pillar-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-brand);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more:hover {
    gap: 12px;
    /* icon slide effect */
}

/* Process Section */
.process-section {
    background-color: var(--white);
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-brand-light);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-brand-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: var(--primary-brand);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-brand);
    transition: color 0.3s ease;
}

.step-card:hover .step-icon i {
    color: var(--white);
}

.step-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--primary-brand-dark);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-brand-dark);
}

.step-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Connecting line for desktop */
@media (min-width: 992px) {
    .process-steps {
        position: relative;
    }

    .process-steps::before {
        content: '';
        position: absolute;
        top: 80px;
        /* Aligns with icon center approx */
        left: 20%;
        width: 60%;
        height: 2px;
        background: repeating-linear-gradient(to right,
                var(--primary-brand-light) 0,
                var(--primary-brand-light) 10px,
                transparent 10px,
                transparent 20px);
        z-index: 0;
    }
}

/* Footer (Updated) */
footer {
    background-color: #111;
    color: #ccc;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-brand);
    padding-left: 5px;
    /* Slide effect */
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #777;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-ctas {
        flex-direction: column;
        padding: 0 40px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* IT & Digital Solutions Page Styles */
.it-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.it-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    border-top: 5px solid var(--primary-brand);
}

.it-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.it-icon {
    font-size: 2.5rem;
    color: var(--primary-brand);
    margin-bottom: 20px;
}

.it-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-brand-dark);
}

.it-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-blocks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-item-detailed {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item-detailed i {
    font-size: 1.5rem;
    color: var(--primary-brand);
    margin-top: 5px;
}

.strategy-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.strategy-card h3 {
    color: var(--primary-brand-dark);
    margin-bottom: 10px;
}

.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.sticky-cta .btn {
    box-shadow: var(--shadow-lg);
    border-radius: 50px;
}

@media (max-width: 992px) {
    .info-blocks-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .sticky-cta {
        bottom: 20px;
        right: 20px;
    }

    .sticky-cta .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Partners Section */
.partners-section {
    background-color: var(--secondary-grey);
    text-align: center;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.partner-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
    transition: var(--transition-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-brand);
}

.partner-icon {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-icon {
    color: var(--primary-brand);
}

.partner-card h3 {
    font-size: 1.2rem;
    color: var(--primary-brand-dark);
    margin-bottom: 5px;
}

.partner-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer Subsidiaries */
.subsidiaries-list li {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.05rem;
}

.mt-20 {
    margin-top: 20px;
}

/* Services Page Styles */
.services-hero,
.transport-hero {
    height: 60vh;
    min-height: 400px;
    background-image: url('../assets/hero.jpg');
    /* Reusing hero image or specific service one */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.services-hero .hero-overlay,
.transport-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    /* Darker overlay for text readability */
}

.services-hero h1,
.transport-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.services-hero .hero-sub,
.transport-hero .hero-sub {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--secondary-grey);
}

.mb-60 {
    margin-bottom: 60px;
}

/* Service Badges */
.badge-soft,
.badge-hard {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-soft {
    background-color: #e3f2fd;
    color: #1976d2;
}

.badge-hard {
    background-color: #fff3e0;
    color: #f57c00;
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.service-card-icon.soft {
    background-color: #e3f2fd;
    color: #1976d2;
}

.service-card-icon.hard {
    background-color: #fff3e0;
    color: #f57c00;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-brand-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes list to bottom if needed, or keeps alignment */
}

.service-features {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.service-features li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--primary-brand);
    /* Or match badge color */
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2rem;
    }
}