/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* Using Poppins from Google Fonts */
    background-color: #0d1117; /* Dark background color similar to the image */
    color: #ffffff; /* White text color */
    line-height: 1.6;
}

.container {
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #0d1117; /* Same as body for seamless look */
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.logo h1 {
    font-size: 2em;
    color: #ffffff;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-right: 30px;
}

.main-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #8a2be2; /* Purple hover effect */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between elements */
}

.koperasi-logo {
    height: 50px; /* Adjust size as needed */
    width: auto;
}

.app-title {
    font-size: 1em;
    color: #ffffff;
    opacity: 0.8;
}

.demo-button {
    background: linear-gradient(to right, #8a2be2, #da70d6); /* Purple gradient */
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Space between text and image content */
}

.text-content {
    flex: 1; /* Takes up available space */
    min-width: 300px; /* Minimum width before wrapping */
}

.text-content h2 {
    font-size: 3.5em; /* Large heading */
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-button {
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.primary-cta {
    background: linear-gradient(to right, #8a2be2, #da70d6); /* Purple gradient */
    color: #ffffff;
}

.secondary-cta {
    background: linear-gradient(to right, #da70d6, #8a2be2); /* Flipped gradient or slightly different hue */
    color: #ffffff;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.4);
}

.image-content {
    flex: 1;
    min-width: 400px; /* Minimum width for images before wrapping */
    position: relative;
    display: flex;
    justify-content: center; /* Center the laptop */
}

.laptop-mockup {
    width: 100%; /* Make laptop fill its container */
    max-width: 600px; /* Max size for laptop */
    height: auto;
    display: block; /* Remove extra space below image */
    z-index: 2; /* Ensure laptop is on top */
    /* You might need to adjust the actual image source and size to fit the design */
}

.phone-mockup {
    position: absolute;
    bottom: 20px; /* Adjust position */
    left: 20px; /* Adjust position */
    width: 20%; /* Adjust size relative to laptop */
    max-width: 150px; /* Max size for phone */
    height: auto;
    z-index: 3; /* Ensure phone is on top of laptop where it overlaps */
    /* Fine-tune positioning based on your actual images */
}

/* Placeholder sections for more content */
.section-placeholder {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-placeholder h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #0d1117;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav ul li {
        margin-right: 0;
    }

    .header-right {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .text-content h2 {
        font-size: 2.5em;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .image-content {
        width: 100%;
        max-width: 500px; /* Limit size on smaller screens */
    }

    .phone-mockup {
        bottom: 10px;
        left: 10%; /* Adjust for better positioning on small screens */
        width: 25%;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8em;
    }

    .main-nav ul li a {
        font-size: 0.9em;
    }

    .demo-button {
        padding: 8px 20px;
        font-size: 0.9em;
    }

    .text-content h2 {
        font-size: 2em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}