/* CSS Variables for Consistent Theme */
:root {
    --primary-color: #292929;
    /* Dark Charcoal */
    --accent-color: #F43F5E;
    /* Bold Coral */
    --background-color: #FAFAFA;
    /* Soft White */
    --card-background-color: #FFFFFF;
    /* Pure White */
    --text-color: #333333;
    /* Deep Gray */
    --border-radius: 12px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lora', serif;
    --transition-speed: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Navigation Bar */
.top-nav {
    display: flex;
    justify-content: center;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.top-nav .selected {
    color: var(--accent-color);
}

.top-nav a:hover {
    color: var(--accent-color);
}

/* Header */
header h1 {
    margin-top: 40px;
    font-size: 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

/* Card Layout */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 40px 20px;
}

.about-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
}

.card {
    background-color: var(--card-background-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h2#ibanDisplay {
    margin: 20px 0;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: #F0F0F0;
    font-family: var(--font-heading);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    width: 100%;
}

.select {
    padding: 12px;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    width: 100%;
    max-width: 200px;
    background-color: white;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-color);
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

button {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.4);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-text {
    font-size: 14px;
    font-family: var(--font-body);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        padding: 20px;
    }

    h1 {
        font-size: 32px;
    }

    button {
        padding: 10px 20px;
    }
}

/* Additional Content Styling */
.additional-content {
    margin-top: 80px;
    margin-bottom: 80px;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.additional-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.additional-content p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--text-color);
}

.additional-content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.additional-content ul li {
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.additional-content ul li strong {
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .additional-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .additional-content h2 {
        font-size: 24px;
    }

    .additional-content p {
        font-size: 14px;
    }

    .additional-content ul li {
        font-size: 14px;
    }

    header h1 {
        font-size: 32px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-content p {
        font-size: 14px;
    }

    .bookmark-button {
        padding: 10px 16px;
    }
}

/* About Page Specific Styles */
.about-content {
    margin-top: 40px;
    margin-bottom: 40px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Bookmark Button */
.bookmark-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.bookmark-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.bookmark-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.4);
}

/* IBAN Input Styles */
.iban-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.iban-input {
    padding: 12px;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    font-size: 16px;
    width: 100%;
    max-width: 350px;
}

/* Validate Button */
.validate-button {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    border: none;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.validate-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.validate-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.4);
}

/* General anchor tag styling */
a {
    color: var(--accent-color);  /* Default link color */
    text-decoration: none;  /* Remove default underline */
    font-weight: 500;  /* Make the link slightly bold */
    position: relative;
    transition: color var(--transition-speed);  /* Smooth color transition */
}

/* Hover effect */
a:hover {
    color: var(--accent-color);  /* Change color on hover */
}

/* Add underline effect with a pseudo-element */
a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);  /* Underline color */
    left: 0;
    bottom: -2px;
    transform: scaleX(0);  /* Start with no underline */
    transition: transform var(--transition-speed);  /* Smooth transition */
    transform-origin: right;  /* Animate from right to left */
}

/* Hover state for the underline effect */
a:hover::after {
    transform: scaleX(1);  /* Fully underline the link */
    transform-origin: left;  /* Animate from left to right */
}

img {
    margin-top: 50px;
    margin-bottom: 50px;
    display: inline-block;
}
.centered {
    text-align: center;
}

/* Flex container for buttons */
.button-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Adjust space between buttons */
}