/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: #52575c;
    background-color: #f4f4f4;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

a {
    color: #00A366;
    text-decoration: none;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

a:hover,
a.active {
    text-shadow: 0 0 2px #00A366;
}

/* Navigation Bar */
nav {
    background-color: #52575c;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo {
    font-size: 28px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    font-size: 18px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00A366;
}

/* Header Section */
header {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to right, #00A366, #52575c);
    background-size: 200% 200%;
    animation: backgroundAnimation 20s infinite alternate;
    flex-shrink: 0;
    height: 350px;
}

@keyframes backgroundAnimation {
    from {
        background-position: left;
    }
    to {
        background-position: right;
    }
}

header h1 {
    position: relative;
    z-index: 1;
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 2s;
}

header p {
    position: relative;
    z-index: 1;
    font-size: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 2s;
}

/* Overlay image and animation */
header::after {
    content: '';
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background-image: url('bpmn.png');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.3; 
    animation: imageMove 60s infinite alternate ease-in-out;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for image movement */
@keyframes imageMove {
    0% {
        transform: translate(0%, 0%);
    }
    25% {
        transform: translate(-10%, 10%);
    }
    50% {
        transform: translate(10%, -10%);
    }
    75% {
        transform: translate(-10%, -10%);
    }
    100% {
        transform: translate(10%, 10%);
    }
}

/* Main Content */
main {
    padding: 50px 20px;
    max-width: 1000px;
    margin: auto;
    width: 100%;
    flex: 1 0 auto;
}

main h2 {
    font-size: 36px;
    color: #00A366;
    margin-bottom: 20px;
    position: relative;
}

main h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background-color: #52575c;
    position: absolute;
    left: 0;
    bottom: -10px;
}

main p {
    font-size: 18px;
    color: #52575c;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #52575c;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 16px;
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    nav ul li {
        margin-left: 10px;
    }

    /* Navigation Logo */
    nav .logo {
        font-size: 40px; /* Increased from 36px to 40px */
    }

    /* Navigation Links */
    nav ul li a {
        font-size: 26px; /* Increased from 24px to 26px */
    }

    /* Header Title */
    header h1 {
        font-size: 70px; /* Increased from 64px to 70px */
    }

    /* Header Paragraph */
    header p {
        font-size: 32px; /* Increased from 28px to 32px */
    }

    /* Main Headings */
    main h2 {
        font-size: 54px; /* Increased from 48px to 54px */
    }

    /* Paragraphs and List Items */
    main p {
        font-size: 24px; /* Increased from 22px to 24px */
        line-height: 1.8; /* Maintain line height for readability */
    }

    /* Footer Text */
    footer {
        font-size: 22px; /* Increased from 20px to 22px */
    }

}