:root {
    --primary-color: #2563eb;
    --secondary-color: #1d4ed8;
    --background-color: #f8fafc;
    --card-background: #ffffff;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
    --hover-color: #3b82f6;
    --gradient-start: #2563eb;
    --gradient-end: #1d4ed8;
    --header-bg: #0d3b7a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-transform: lowercase;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-master {
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    opacity: 0.9;
    line-height: 1;
}

.logo-ltd {
    font-size: 0.85rem;
    color: white;
    opacity: 0.7;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
    transform: translateX(calc(100% - 100% * (2.5/1.8)));
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.language-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.language-button img {
    width: 30px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.language-button span {
    font-weight: 500;
    font-size: 0.9rem;
    color: white;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    display: none;
    z-index: 1000;
    min-width: 150px;
    border: 1px solid var(--border-color);
}

.language-dropdown.active {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0.375rem;
}

.language-option:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.language-option img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.language-option span {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Hero Section */
.hero-section {
    background-color: white;
    color: var(--text-color);
    padding: 10rem 1rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--header-bg);
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: #64748b;
}

.hero-tagline {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--header-bg);
    color: white;
}

.btn-primary:hover {
    background-color: #0a2e61;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: var(--header-bg);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

#cardsBanner{
    max-width: 1200px;
    margin: 8rem auto 0 auto;
    display: block;
}
/* Exchange Calculator Section */
.exchange-containerrrr {
    max-width: 1200px;
    margin: -12rem auto 0;
    padding: 0 1rem 7rem 1rem;
    position: relative;
    z-index: 2;
}
.exchange-container {
    max-width: 1200px;
    margin: 3rem auto -16rem auto;
    padding: 0 1rem 7rem 1rem;
    position: relative;
    z-index: 2;
}

.exchange-card {
    background: #0d3b7a;
    border-radius: 1.5rem;
    padding: 4rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 4rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.exchange-card h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.exchange-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.exchange-input {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.exchange-input label {
    font-weight: 600;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: block;
}

.input-group {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.input-group input {
    flex: 1;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.input-group select {
    width: 45%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.input-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.input-group option {
    background: #0d3b7a;
    color: white;
    padding: 0.75rem;
}

.rate-info {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0 0;
    font-size: 1.1rem;
}

.rate-info span {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    display: inline-block;
}

.currency-symbol {
    font-weight: bold;
    margin-right: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .exchange-card {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .exchange-form {
        gap: 2rem;
    }

    .exchange-input {
        padding: 1.5rem;
    }

    .input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .input-group input,
    .input-group select {
        width: 100%;
        font-size: 1.1rem;
        padding: 1rem;
    }

    .rate-info {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .exchange-rate, .network-fee, .final-amount {
        width: 100%;
        text-align: center;
    }

    .exchange-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Features Section */
.features-section {
    background-color: var(--background-color);
    padding: 8rem 1rem 0;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-card p {
    color: #64748b;
}

/* How It Works Section */
.how-it-works-section {
    background-color: white;
    padding: 8rem 1rem;
}

.how-it-works-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step p {
    color: #64748b;
}

/* Location Section */
.location-section {
    background-color: var(--background-color);
    padding: 8rem 1rem;
}

.location-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-card i {
    font-size: 1.25rem;
}

.info-card p {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.map-container {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.static-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.static-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.map-link {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-link i {
    font-size: 1.1em;
}

/* FAQ Section */
.faq-section {
    background-color: var(--background-color);
    padding: 8rem 1rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #64748b;
}

/* Footer Styles */
footer {
    background-color: var(--header-bg);
    color: white;
    padding-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem 3rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.footer-section strong {
    color: white;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--header-bg);
    transform: translateY(-3px);
}

.social-links i {
    font-size: 1.1rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 10px;
    }
    .logo{
        transform: scale(.7);
        margin: -15px 0 -5px 0;
    }
    .nav-links {
        display: none;
    }
    .features-section {
        padding: 3rem 1rem;
    }
    .hero-section {
        padding: 2rem 1rem 3rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .exchange-container {
        margin: 1rem auto 0;
        padding: 7rem 1rem 0 1rem;
    }

    .exchange-card {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .exchange-card h2 {
        margin-bottom: 2.5rem;
        font-size: 2rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group input,
    .input-group select {
        width: 100%;
        font-size: 1.1rem;
    }

    .rate-info {
        font-size: 1rem;
    }

    .location-container {
        grid-template-columns: 1fr;
    }

    .static-map {
        min-height: 300px;
    }

    .static-map iframe {
        min-height: 300px;
    }

    .features,
    .steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    
    #newsList .news-box {
        width: calc(50% - 14px);
    }
}

/* Add these styles to your existing CSS */
.welcome-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1e293b;
}

/* Section Headings */
.features-section h2,
.location-section h2,
.how-it-works-section h2,
.faq-section h2 {
    color: var(--header-bg);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.exchange-action {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.exchange-button {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exchange-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.exchange-button:active {
    transform: translateY(0);
}