/* General Styling */
body {
    font-family: 'Lato', sans-serif;
    background-color: #1e1e1e;
    color: #ecf0f1;
    margin: 0;
    padding: 0;
    margin-top: 100px; /* Space for the fixed header */
    padding-top: 20px;
}

/* Header Styling */
header {
    background-color: #2c3e50;
    padding: 10px 20px; /* Reduce padding to make the header thinner */
    text-align: center;
    color: #ecf0f1;
    font-size: 2rem; /* Slightly reduce the font size */
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column; /* Stacks elements vertically */
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); /* Add subtle shadow */
}
.header-content {
    margin-left: -40px; /* Shift the entire content 10px to the left */
}

/* Styling for the Profile Photo */
.profile-photo {
    width: 300px; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make it a circle */
    display: block;
    margin: 0 auto 40px auto; /* Center the image and add bottom margin */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
}


header h1 {
    margin: 0;
    font-size: 2.2rem; /* Slightly smaller than header font-size */
    display: flex;
    align-items: center;
    font-family: 'Lato', sans-serif;
}

header h1 i {
    margin-right: 10px; /* Space between icon and text */
}

header a {
    font-size: 2rem;
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 20px;
}

/* Hero Section Styling */
/* Hero Section Styling */
.hero {
    background-color: #34495e;
    color: white;
    padding: 60px 40px; /* Increased padding for better readability */
    border-bottom: 5px solid #1abc9c;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

.hero blockquote {
    font-size: 24px;
    font-style: italic;
    color: #ecf0f1;
    margin: 0;
    padding-left: 20px;
    border-left: 5px solid #1abc9c; /* Left border to emphasize the quote */
}

.hero .author {
    text-align: right;
    font-size: 18px;
    margin-top: 10px;
    color: #95a5a6; /* Slightly lighter color for the author */
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8; /* More line spacing for readability */
    color: #ecf0f1;
    text-align: justify;
}

.btn-cta {
    background-color: #1abc9c;
    padding: 20px 40px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    display: block; /* Make it a block element */
    width: fit-content; /* Fit the button to its content */
    margin: 30px auto; /* Center the button */
}

.btn-cta:hover {
    background-color: #16a085;
    transform: translateY(-3px); /* Adds a subtle lift effect on hover */
}


/* Lecture List Styling */
.lecture-list {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #2c3e50;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

.lecture-list h2 {
    color: #ecf0f1;
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
}

.lecture-list ul {
    list-style: none;
    padding: 0;
}

.lecture-list ul li {
    background-color: #34495e;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.lecture-list ul li:hover {
    background-color: #1abc9c;
}

.lecture-list ul li a {
    text-decoration: none;
    color: white;
    display: block;
}

/* Subscription Form Styling */
.subscription-form {
    margin: 40px auto;
    padding: 20px;
    background-color: #34495e;
    color: white;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

.subscription-form input[type="email"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #1abc9c;
    font-size: 16px;
}

.subscription-form button {
    padding: 10px 20px;
    background-color: #1abc9c;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.subscription-form button:hover {
    background-color: #16a085;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #2c3e50;
    color: #ecf0f1;
    position: relative;
}

footer p {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-top: 15px;
}

footer a {
    display: inline-block;
    background-color: #1abc9c;
    color: #ecf0f1;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    margin: 5px;
    transition: background-color 0.3s ease;
}

footer a:hover {
    background-color: #16a085;
}

.title {
    margin-bottom: 5px; /* Reduce space between the title and the flags */
}

.language-selector {
    display: flex;
    justify-content: center; /* Centers the flags underneath the title */
    margin-top: 5px; /* Reduce the space above the flags */
}

.language-selector img {
    width: 30px;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.language-selector img:hover {
    transform: scale(1.2);
}

/* Image Styling */
.concept-img {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    display: block;
}

/* Animations */
.fade-in {
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }
    section {
        padding: 15px;
    }
}

/* Subscription Form Styling */
.subscription-form {
    margin: 40px auto;
    padding: 20px;
    background-color: #34495e;
    color: white;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

.subscription-form input[type="email"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #1abc9c;
    font-size: 16px;
}

.subscription-form button {
    padding: 10px 20px;
    background-color: #1abc9c;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.subscription-form button:hover {
    background-color: #16a085;
}

/* New styles for the loading state */
.subscription-form button.loading {
    background-color: #16a085; /* Darker shade of the original color */
    cursor: not-allowed;
    opacity: 0.7;
}

.subscription-form button.loading:hover {
    background-color: #16a085; /* Prevent hover effect when loading */
}

#subscriptionStatus {
    margin-top: 10px;
    color: #e74c3c; /* Red color for error messages */
    font-size: 14px;
}

/* Keeping the existing success message styling */
#successMessage {
    display: none;
}

#successMessage h3 {
    font-size: 24px;
    color: #1abc9c;
    margin-bottom: 10px;
}

#successMessage p {
    font-size: 18px;
    color: #ecf0f1;
}

.hero ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.hero li {
    margin-bottom: 10px;
}

.trading-example {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

/* Regular styling for the title */
.english-title {
    font-size: 2.2rem; /* Same as .title h1 */
}

@media screen and (max-width: 600px) {
    .english-title {
        font-size: 1.6rem;
    }
}