/* General Styles */
:root {
    --primary-bg-color: #f3f4f6; /* Dark Blue Background */
    --secondary-bg-color: #fff; /* Slightly lighter dark background */
    --text-color: #333; /* White text */
    --accent-color: #007f3f; /* Blue accent color */
    --light-text-color: #555; /* Light gray text */
    --border-color: #2e3543; /* Border color similar to container borders */
    --highlight-color: #007BFF; /* Highlight color for package features */
}

body {
    /*font-family: 'Helvetica', 'Arial', sans-serif;*/
	font-family: Georgia,Times,Times New Roman,serif; 
    margin: 0;
    padding: 0;
	width: 100%;
    background-color: var(--primary-bg-color);
    color: var(--text-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	background-color: #ebeced;
}

/* Perfect Drop Cap Styling */
.drop-cap:first-letter {
    font-size: 4em;            /* Make the first letter 4 times the base font size */
    float: left;               /* Float the first letter to the left */
    margin-right: 5px;        /* Add space between the letter and the rest of the text */
    margin-top: 4px;           /* Adjust to align the first letter with the paragraph */
    line-height: 0.7;          /* Control the height of the first letter */
           /* Make the first letter bold */
    color: #333;               /* Customize the color of the first letter */
    font-family: Georgia, serif; /* A serif font adds a more traditional, elegant look */
    
}



/* General Header Styling */
.main-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Top Bar Styles */
.top-bar {
    width: 90%; /* Full width */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
   /* padding: 10px 30px;*/
    font-size: 14px;
}

.utility-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.utility-menu li {
    display: inline;
}

.utility-menu a {
    text-decoration: none;
    color: #333;
}

.language-switcher {
    font-size: 15px;
    margin-right: 20px;
	color: #333;
	display:none;
}

.language-switcher a {
    text-decoration: none;
    color: #007f3f;
    margin-left: 10px;
}



/* Logo Styling */
.logo {
    width: 100%; /* Full width for logo */
    text-align: center; /* Center the logo */
   /* padding: 2px 0; */
   height: 115px;
   margin-top: -20px;
}

.logo img {
    height: 55px;
    width: 176px;
    margin-bottom: 0px;
    padding-top: 47px;
    padding-bottom: 0px;
}

user agent stylesheet
img {
}

/* Main Navigation Menu */
.menu {
    width: 100%; /* Full width */
    background-color: #424242;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
	border-top: 1px solid #424242; /* Separator at the top */
    border-bottom: 1px solid #424242; /* Separator at the bottom */
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center align menu items */
    gap: 10px;

}

.menu li {
    display: inline-block;
}

.menu li + li {
    border-left: 1px solid #007040; /* Adds separator between items */
    padding-left: 10px; /* Adds space after the separator */
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    /*font-weight: bold;*/
    text-transform: uppercase;
    padding: 15px 20px;
    display: block;
}

.menu a:hover {
    background-color: white;
    color: #007040;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu ul {
        flex-direction: column;
        gap: 10px; /* Adjust spacing for mobile */
    }

    .top-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .search-bar {
        margin-top: 10px;
    }
}

/* navnav */



/* Header Image with Text Centered */
.header-image {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('https://fehonex.com/assets/img/image_9867086320.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 40px;
	display: flex; /* Enable flexbox */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    overflow: hidden;
}

/* Fade effect for the image */
.header-image::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, #ebeced 100%);
    /* The gradient fades from transparent to #ebeced */
    z-index: 1;
}



/* Hero Section */
.hero {
    position: relative;
    z-index: 2;
    color: #000000; /* Text color on top of the transparent background */
    text-align: center;
    padding: 10px 2px 10px 10px;
    background-color: rgba(255, 255, 255, 0.8); /* Gray background with 70% opacity */
    border-top: 3px solid #5592c3; /* Separator at the top */
    border-bottom: 2px solid #5592c3; /* Separator at the bottom */
    width: 50%; /* Adjust width to make content more focused */
    margin: 0 auto; /* Center the content */
}
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--light-text-color);
}

/* Packages Section */
.packages {
    background-color: var(--secondary-bg-color);
    padding: 40px 20px;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 0;
}

.package-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.package {
    background-color: var(--primary-bg-color);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin: 10px;
    border-radius: 0;
    width: 300px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.package:hover {
    transform: scale(1.05);
}

.package-header {
    background-color: var(--highlight-color);
    padding: 10px;
    border-radius: 0;
    text-align: center;
    color: #fff;
}

.package-header h3 {
    margin: 0;
    font-size: 20px;
}

.package-header p {
    margin: 5px 0 0;
    font-size: 16px;
}

.timeframe {
    font-size: 14px;
    color: var(--light-text-color);
}

.package-body {
    padding: 15px;
}

.deposit {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

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

.package ul li {
    margin-bottom: 8px;
    color: var(--light-text-color);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.package ul li::before {
    content: "✔";
    color: var(--highlight-color);
    font-weight: bold;
    margin-right: 8px;
}

/* About Us Section */
.about-us {
    padding: 40px 0px;
    max-width: 100%;
    width: 80%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Real-Time Prices Section */
.realtime-prices {
    padding: 40px 20px;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.prices-table {
    background-color: var(--secondary-bg-color);
    padding: 20px;
    border-radius: 0;
    width: 48%;
    box-sizing: border-box;
    padding-left: 20px; /* Add padding to the left */
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-row img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.price-row span {
    flex: 1;
    min-width: 80px;
    text-align: right;
    white-space: nowrap; /* Prevent text from breaking */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for overflow */
}

/* Wrapper for Contact and Sign In Sections */
.contact-signin-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: flex-start; /* Align the top of both sections */
    gap: 40px; /* Space between the two sections */
    width: 100%;
    max-width: 1000px; /* Control max width for the wrapper */
    margin: 20px auto; /* Center the wrapper horizontally */
    padding: 0 20px; /* Add padding for small screens */
    box-sizing: border-box;
}

/* Contact Section */
#contact {
    flex: 1; /* Allow the contact section to take up available space */
    text-align: left; /* Align text to the left */
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
}

#contact .company-info {
    background-color: var(--secondary-bg-color);
    padding: 20px;
    border-radius: 0;
    margin-top: 20px;
    color: var(--light-text-color);
}

/* Sign In Section */
#signin {
    flex: 1; /* Allow the sign-in section to take up available space */
    max-width: 400px; /* Restrict the maximum width for the sign-in form */
}

#signin form {
    background: white;
    padding: 30px;
    border-radius: 0px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

#signin form:hover {
    transform: scale(1.05);
}

#signin form h2 {
    margin-bottom: 20px;
    color: var(--text-color);
}

#signin label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-text-color);
}

#signin input[type="text"], 
#signin input[type="password"] {
    width: calc(100% - 24px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #4a4a4a;
    border-radius: 0;
    background-color: #2a2f3a;
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

#signin input[type="text"]:focus,
#signin input[type="password"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px var(--accent-color);
}

.password-container {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--light-text-color);
}

#signin button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 0;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-size: 18px;
    font-weight: bold;
    cursor

: pointer;
    transition: background-color 0.3s ease;
}

#signin button:hover {
    background-color: green;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .prices-table {
        width: 100%;
        margin-bottom: 20px;
    }

    .realtime-prices {
        flex-direction: column;
    }

    .price-row {
        justify-content: space-between;
        text-align: left;
    }

    .price-row span {
        min-width: 60px;
        font-size: 14px;
    }

    .packages {
        padding: 20px;
    }

    .package-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .package {
        width: 90%; /* Make packages wider on mobile */
    }

    .about-us,
    #contact {
        padding: 20px;
    }

    .contact-signin-wrapper {
        flex-direction: column; /* Stack vertically on smaller screens */
        align-items: center;
    }

    #contact, #signin {
        max-width: 100%;
        text-align: center;
        width:90%;
    }

    .password-container {
        text-align: center;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li a {
        padding: 10px;
        font-size: 16px;
    }

    .hero {
        padding: 20px;
        font-size: 18px;
    }

    .about-us,
    .realtime-prices,
    #contact {
        padding: 20px;
    }

    .price-row img {
        width: 20px;
        height: 20px;
    }

    .price-row span {
        min-width: 50px;
        font-size: 14px;
    }

    #signin form {
        padding: 15px;
        max-width: 100%;
    }
}

/* Welcome Box */
.welcome-box {
    background-color: rgba(255, 255, 255, 0.7);
    color: #007040;
    padding: 10px;
    text-align: center;
    margin: 0px auto;
    max-width: 1000px;
    border-radius: 0;
	border-top: 3px solid #007040; /* Separator at the top */
    font-size: 18px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

/* Language Switcher 
.language-switcher {
    text-align: right;
    padding: 10px 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-switcher a {
    color: #007f3f;
    text-decoration: none;
    padding: 5px;
    font-weight: bold;
}

.language-switcher a.active {
    text-decoration: underline;
}

.language-switcher a:hover {
    color: #00592d;
}

*/

/* Main Section: 2-column Layout */
.main-section {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 of the width for services, 1/3 for media */
    gap: 40px;
    padding: 40px;
    background-color: #f5f5f5;
}

/* Left Column: Services (2x2 Grid) */
.left-column {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns layout for services */
    gap: 20px;
}

.service-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    transition: box-shadow 0.3s;
}

.service-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon img {
    height: 50px;
    width: 50px;
    margin-right: 15px;
}

.content h3 {
    font-size: 18px;
    color: #006838; /* Dark green similar to the one in the screenshot */
    margin: 0 0 10px;
}

.content p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
}

.content a {
    font-size: 14px;
    color: #006838;
    text-decoration: none;
    font-weight: bold;
}

.content a:hover {
    text-decoration: underline;
}

/* Right Column: Media Section */
.right-column {
    background-color: #ebeced;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.media-section h3 {
    font-size: 18px;
    color: #006838;
}

.media-content {
    display: flex;
    align-items: center;
}

.media-content img {
    height: 80px;
    margin-right: 15px;
}

.media-content p {
    font-size: 14px;
    color: #666;
    margin: 0px 0px 10px;
}
#dropc
{
    text-align:right;
}
#dropd
{
    text-align:left;
}


.media-content a {
    font-size: 14px;
    color: #006838;
    text-decoration: none;
    font-weight: bold;
}

.media-content a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-section {
        grid-template-columns: 1fr; /* Stack the columns vertically on smaller screens */
    }

    .left-column {
        grid-template-columns: 1fr; /* Stack service items vertically on smaller screens */
    }

    .media-content {
       /* flex-direction: column;*/
        align-items: flex-start;
    }
}

/* Services Grid Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
}

.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #007f3f;
    font-size: 18px;
    margin: 0 0 10px;
}

.service-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.service-card a {
    color: #007f3f;
    text-decoration: none;
    font-weight: bold;
}

.service-card a:hover {
    text-decoration: underline;
}

/* Media Archive Styling */ 
.media-archive .media-img {
    width: 100%;
    height: auto;
    margin: 10px 0;
}

/* Updated Services Grid Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
}

.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #007f3f;
    font-size: 18px;
    margin: 10px 0;
}

.service-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-card a {
    color: #007f3f;
    text-decoration: none;
    font-weight: bold;
}

.service-card a:hover {
    text-decoration: underline;
}

/* Media Archive Specific Styling */ 
.media-archive .media-img {
    width: 100%;
    height: auto;
    margin: 10px 0;
}

/* Responsive adjustments for smaller screens */
/* Single column layout for mobile */ 
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; 
    }
}

/* Updated Services Section with 2x2 Grid */
.services-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    max-width: 1000px; 
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.service-content h3 {
    color: #007f3f;
    font-size: 18px;
    margin: 10px 0;
}

.service-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-content a {
    color: #007f3f;
    text-decoration: none;
    font-weight: bold;
}

.service-content a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .services-section {
        grid-template-columns: 1fr; 
    }
}




/* Footer Styles */
.footer {
    background-color: #f5f5f5; /* Light grey background */
   
    width:90%;
 padding: 40px 5%; /* Adjust padding */
    font-size: 14px;
    color: #333; /* Dark grey text */
    border-top: 1px solid #ddd;
}

/* Container for the three main sections */
.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Columns inside the footer */
.footer-column {
    width: 30%;
    line-height: 1.8;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.footer-column p, .footer-column ul {
    margin: 0;
    margin-bottom: 10px;
}

.footer-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-news-list li {
    margin-bottom: 8px;
}

.footer-link {
    color: #006400; /* Dark green color */
    text-decoration: none;
    font-size: 14px;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Bottom bar for links and legal text */
.footer-bottom {
    background-color: #006400; /* Dark green background */
    color: #fff; /* White text */
    text-align: center;
    padding: 15px 0;
}

.footer-bottom .footer-links {
    margin-bottom: 10px;
}

.footer-bottom .footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-bottom .footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 12px;
    color: #ddd; /* Slightly lighter color for legal text */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-bottom .footer-links a {
        display: block;
        margin: 5px 0;
    }
}

/* General Section Style */
.more-info-section {
    
    margin: 20px auto;
    text-align: center;
    background-color: transparent;
    box-shadow: none;
    border: none;
    width: 90%;
}

/* Line Separator */
.line-separator {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
}

.more-info-section h2 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.more-info-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Initially hidden content */
.hidden {
    display: none;
}

/* Toggle Button without Background Color and Borders */
.toggle-more-info {
    display: inline-block;
    margin-top: 10px;
    background-color: transparent;
    color: #007BFF; /* Optional: Use the link color */
    border: none;
    font-size: 16px;
    cursor: pointer;
    text-decoration: underline;
}

.toggle-more-info:hover {
    color: #005bb5; /* Optional: Darker hover color */
}


.market-news-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.market-news-section h2, .market-news-section h3 {
    color: #333;
}

.news-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.stock-news, .crypto-news {
    width: 55%; /* Make them wider */
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 300px;
}

.news-item {
    margin-bottom: 15px;
    text-align: left;
}

.news-item h4 {
    margin: 0 0 5px 0;
    color: #007BFF;
}

.news-item p {
    margin: 0;
    color: #555;
}

/* Show More Button */
.show-more-btn {
    margin-top: 10px;
    background-color: transparent;
    color: #007BFF;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    text-decoration: underline;
}

.show-more-btn:hover {
    color: #005bb5;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .news-container {
        flex-direction: column;
    }

    .stock-news, .crypto-news {
        width: 100%; /* Full width on mobile */
    }
}

/*CONTACT FOOOOOORRM*/

/* General Form Styles */
form#contactForm {
    background-color: #e0f2e9; /* Matches the greenbox background */
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 20px auto; /* Center the form */
    font-family: 'Open Sans', sans-serif;
	text-align: center; /* Center-align form content */
}

/* Form Headline */
form#contactForm h3 {
    color: #2a7b53; /* Matches the updated link color */
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

/* Form Groups */
form#contactForm .form-group {
    margin-bottom: 15px;
	text-align: center; /* Center-align labels within form-group */
}

form#contactForm label {
    display: block;
    margin-bottom: 5px;
    color: #2a7b53; /* Matches the new link color */
    font-size: 16px;
	text-align: center; /* Center the label text */
}

/* Input Fields */
form#contactForm input[type="text"],
form#contactForm input[type="email"],
form#contactForm input[type="tel"] {
    width: 89%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

/* Focus state for input fields */
form#contactForm input[type="text"]:focus,
form#contactForm input[type="email"]:focus,
form#contactForm input[type="tel"]:focus {
    border-color: #2a7b53;
    outline: none;
    box-shadow: 0 0 5px rgba(42, 123, 83, 0.5);
}

/* Submit Button */
form#contactForm button[type="submit"] {
    background-color: #2a7b53; /* Button matches the adjusted green color */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
}

form#contactForm button[type="submit"]:hover {
    background-color: #248a61; /* Darker shade of green on hover */
}

/* Error Handling */
form#contactForm input[type="text"].error,
form#contactForm input[type="email"].error,
form#contactForm input[type="tel"].error {
    border-color: red;
}

form#contactForm .error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

/* Hidden Fields */
form#contactForm input[type="hidden"] {
    display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    form#contactForm {
        width: 100%;
        padding: 15px;
    }

    form#contactForm h3 {
        font-size: 20px;
    }

    form#contactForm input[type="text"],
    form#contactForm input[type="email"],
    form#contactForm input[type="tel"],
    form#contactForm button[type="submit"] {
        font-size: 14px;
    }
}


/*NEWS*/

/* Stock Market News Section */
.stock-market-news-section {
    /*background-color: #e0f2e9;  Matches the greenbox background */
	background-color: #ebeced;
    padding: 20px;
    border-radius: 0px;
   /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    max-width: 1000px; /* Increased max-width to accommodate two columns */
    margin: 40px auto; /* Center the news section */
    font-family: 'Open Sans', sans-serif;
	transition: transform 0.3s ease-in-out;
	border-top: 2px solid black;
	border-bottom: 1px solid black;
}

.stock-market-news-section h2 {
    text-align: center;
    color: #2a7b53; /* Matches the theme's green color */
    font-size: 24px;
    margin-bottom: 20px;
}

/* News Columns */
#market-news-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Add space between columns */
	transition: transform 0.3s ease-in-out;
}

.news-column {
    flex: 1; /* Each column takes equal width */
    padding: 10px;
}

/* Individual news item styling */
.stock-market-news-section .news-item {
    margin-bottom: 20px;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.stock-market-news-section .news-item:last-child {
    border-bottom: none; /* Remove border from the last news item */
}

.stock-market-news-section h3 {
    color: #2a7b53;
    font-size: 18px;
    margin-bottom: 10px;
}

.stock-market-news-section p {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive Design: Stack columns on smaller screens */
@media (max-width: 768px) {
    #market-news-container {
        flex-direction: column; /* Stack columns vertically */
    }

    .news-column {
        width: 100%; /* Each column takes the full width in mobile view */
        padding: 0;
    }

    .stock-market-news-section h2 {
        font-size: 20px;
    }

    .stock-market-news-section h3 {
        font-size: 16px;
    }

    .stock-market-news-section p {
        font-size: 14px;
    }
}
/* Hamburger icon styling */
.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .menu {
        position: relative;
        text-align: left;
        padding-bottom: 15px;
    }

    /* Show the hamburger icon on mobile and center it */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 10px;
        top: 20px;
    }

    /* Initially hide the menu items */
    .menu ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #424242;
    }

    /* Show the menu when the 'menu-open' class is added */
    .menu.menu-open ul {
        display: flex;
    }

    /* Center the hamburger icon */
    .menu-toggle {
        display: block;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        top: 10px;
    }

    /* Add X icon animation when menu is open */
    .menu.menu-open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .menu.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu.menu-open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
}

/* Center the newsletter form in the footer column */
#newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;  /* Center the form items horizontally */
    justify-content: center;
    gap: 10px;  /* Space between label, input, and button */
}

/* Label styling: 50% width and centered */
#newsletter-form label {
    width: 50%; /* Make the label 50% of the column width */
    text-align: center;  /* Center the text inside the label */
    font-size: 14px; /* Adjust font size for readability */
}

/* Email input field styling: 50% width and centered */
#newsletter-form input[type="email"] {
    width: 50%; /* Make the input 50% of the column width */
    padding: 8px; /* Adjust padding for a compact look */
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 14px;
}

/* Button styling: 50% width and centered */
#newsletter-form button {
    width: 50%; /* Make the button 50% of the column width */
    padding: 10px;
    background-color: #007040;
    color: white;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
}

#newsletter-form button:hover {
    background-color: #005730; /* Darken the button on hover */
}
/* Button when successfully submitted */
#subscribe-button {
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for colors */
}

#subscribe-button.submitted {
    background-color: #28a745; /* Green background for success */
    color: white; /* White text for the checkmark */
}

