/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 30px;
    background-color: #c4c4c4;
}

header img {
    height: 50px;
}

.auth-buttons button {
    margin-left: 10px;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    background-color: #d14792;
    color: white;
    border-radius: 5px;
}

/* Action Buttons */
.actions {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 20px;
}

.actions button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    background-color: #5d3c8f;
    color: white;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 20px;
    flex-wrap: wrap;
    text-align: center;
    
    /* Hero image background */
    background-image: url('hero.jpg'); /* <-- your file name here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; /* Make text readable */
    position: relative;
}

/* Optional: add a dark overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    z-index: 1;
}

.hero h1,
.hero .converter {
    position: relative;
    z-index: 2;
}
/* Converter Box */
.converter {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    padding: 20px;
    background: rgba(0, 0, 0, 0);
    border: 2px solid #fec700;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Input with Flag */
.input-with-flag {
    display: flex;
    align-items: center;
    position: relative;
}

.input-with-flag input {
    width: 100%;
    padding: 8px 40px 8px 10px;
    border: 5.5px solid #black;
    border-radius: 5px;
}

/* Flag icon */
.flag {
    position: absolute;
    right: 10px;
    width: 24px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 2px;
}

/* FX Rate, Charge, and Total text */
#fxRateText, #chargeText {
    font-size: 0.55rem;
    color: #cccccc;
}

#totalText {
    font-size: 1rem;
    color: #cccccc;
    margin-top: 5px;

/* SEND Button */
#sendBtn {
    background-color: yellow;
    color: black;
    font-weight: bold;
    padding: 8px 16px;   /* reduced size */
    font-size: 0.9rem;   /* smaller font */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover effect */
#sendBtn:hover {
    background-color: gold;
    transform: scale(1.05);
}


}

/* About and Contact */
.about, .contact {
    padding: 40px 50px;
    background-color: #ffffff;
}

.about h2, .contact h2 {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    header {
        flex-direction: column;
        gap: 10px;
    }

    .auth-buttons {
        margin-top: 10px;
    }
}

#sendBtn {
    background-color: yellow;
    color: black;
    font-weight: bold;
    padding: 8px 16px;   /* smaller button */
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover effect */
#sendBtn:hover {
    background-color: gold;
    transform: scale(1.05);
}

