body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-logo {
    height: 45px;
    width: auto;
}

header h1 {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover {
    color: #3498db;
}

nav a:hover::after {
    width: 80%;
}

nav a.active {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

nav a.active::after {
    width: 80%;
    background-color: #3498db;
}

main {
    padding: 1rem;
}

.hero {
    background-image: url('/images/Header.jpg');
    background-size: cover;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-position: center;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    border-radius: 15px;
    overflow: hidden;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 2.1rem;
}

.about-us-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.about-us-container:hover {
    transform: translateY(-5px);
}

.about-us-image {
    flex: 1;
    padding: 0;
    max-width: 40%;
    position: relative;
    overflow: hidden;
}

.about-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-us-image:hover img {
    transform: scale(1.05);
}

.about-us-text {
    flex: 2;
    padding: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-us-text h2 {
    margin-top: 0;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-us-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.about-us-intro {
    font-size: 1.4rem;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-us-content p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.about-us-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8f9fa;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature-icon {
    color: #3498db;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-us-image {
    order: 1;
}

.about-us-text {
    order: 2;
}

.content {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.content li {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #4299e1, #9f7aea, #ed64a6);
    background-size: 200% 200%;
    animation: gradientBG 8s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.faq-section .section-header h2 {
    color: #2d3748;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(90deg, #2b6cb0, #9f7aea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.faq-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4299e1, #9f7aea);
    border-radius: 2px;
}

.faq-section .section-subtitle {
    color: #4a5568;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.7;
    opacity: 0.9;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 1.25rem;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(66, 153, 225, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4299e1, #9f7aea);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover .faq-question::before {
    opacity: 1;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    transition: all 0.3s ease;
    flex: 1;
    padding-right: 2rem;
    position: relative;
    z-index: 1;
}

.faq-icon {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(66, 153, 225, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-icon {
    background: rgba(66, 153, 225, 0.2);
    transform: rotate(90deg);
}

.plus-icon, .minus-icon {
    position: absolute;
    font-size: 1.25rem;
    color: #4299e1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
    line-height: 1;
}

.minus-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(248, 250, 252, 0.6);
    color: #4a5568;
    line-height: 1.8;
    padding: 0 2rem;
    font-size: 1.05rem;
}

.faq-answer p {
    margin: 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.faq-answer a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    padding-bottom: 2px;
}

.faq-answer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.faq-answer a:hover::after {
    width: 100%;
}

.faq-answer a:hover {
    color: #2c5282;
}

/* Active State */
.faq-item.active {
    border-color: rgba(66, 153, 225, 0.5);
    box-shadow: 0 15px 30px -10px rgba(66, 153, 225, 0.2), 0 10px 20px -5px rgba(66, 153, 225, 0.1);
    transform: translateY(-3px);
}

.faq-item.active .faq-question h3 {
    color: #2b6cb0;
}

.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-item.active .plus-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-item.active .minus-icon {
    opacity: 1;
    transform: rotate(0);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 4.5rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.faq-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4299e1, #9f7aea, #ed64a6);
    background-size: 200% 200%;
    animation: gradientBG 8s ease infinite;
}

.faq-cta p {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.faq-cta .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4299e1 0%, #9f7aea 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(66, 153, 225, 0.3);
    z-index: 1;
}

.faq-cta .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #9f7aea 0%, #4299e1 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.faq-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(66, 153, 225, 0.4);
}

.faq-cta .cta-button:hover::before {
    opacity: 1;
}

.faq-cta .cta-button:active {
    transform: translateY(-1px);
}

/* Floating Elements */
.faq-floating {
    position: absolute;
    border-radius: 50%;
    background: rgba(66, 153, 225, 0.1);
    z-index: 0;
    pointer-events: none;
}

.faq-floating-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.08) 0%, rgba(66, 153, 225, 0) 70%);
}

.faq-floating-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    left: -100px;
    background: radial-gradient(circle, rgba(159, 122, 234, 0.08) 0%, rgba(159, 122, 234, 0) 70%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-section .section-header h2 {
        font-size: 2.2rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-cta {
        margin-top: 3rem;
        padding: 2rem 1.5rem;
    }
    
    .faq-cta p {
        font-size: 1.1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add a subtle gradient background to the FAQ section */
.content h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.rates-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.rates-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rates-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.rates-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #3498db;
}

.rates-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.rates-search-container {
    margin-bottom: 2rem;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2rem;
}

#currency-search {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

#currency-search:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.rates-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

#rates-container {
    overflow-x: auto;
}

#rates-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

/* Exchange Rates Section */
.rates-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 1200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rates-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    z-index: 1;
}

.rates-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.rates-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rates-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.rates-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 0;
}

.rates-search-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.base-currency-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.base-currency-selector label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.custom-select {
    padding: 0.6rem 1rem 0.6rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;
    font-size: 0.9rem;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7em top 50%;
    background-size: 0.65em auto;
    padding-right: 2.5em;
}

.custom-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.custom-select:hover {
    border-color: #a0aec0;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrapper .search-icon {
    position: absolute;
    left: 15px;
    color: #6c757d;
    font-size: 1.1rem;
}

#currency-search {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#currency-search:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.rates-table-container {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#rates-container {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 700px;
}

#rates-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 100%;
}

#rates-container th {
    background-color: #f8fafc;
    color: #4a5568;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}

#rates-container th.sortable {
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
    padding-right: 1.75rem;
}

#rates-container th.sortable:hover {
    background-color: #f1f5f9;
}

#rates-container th .sort-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
    color: #a0aec0;
}

#rates-container td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #edf2f7;
    color: #4a5568;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    vertical-align: middle;
}

#rates-container tr:not(:last-child) td {
    border-bottom: 1px solid #edf2f7;
}

#rates-container tr:last-child td {
    border-bottom: none;
}

#rates-container tr:hover td {
    background-color: #f8fafc;
}

#rates-container tr.rate-row {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#rates-container tr.rate-row:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#rates-container .text-right {
    text-align: right;
}

#rates-container .text-center {
    text-align: center;
}

#rates-container tr:last-child td {
    border-bottom: none;
}

#rates-container tr:hover td {
    background-color: #f8fafc;
}

.currency-flag {
    width: 24px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.currency-code {
    font-weight: 600;
    color: #2d3748;
}

.currency-name {
    color: #718096;
    font-size: 0.85rem;
    margin-left: 8px;
}

.rate-value {
    font-weight: 600;
    color: #2d3748;
}

.rate-change {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 8px;
}

.rate-up {
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
}

.rate-down {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

.rate-neutral {
    color: #6b7280;
    background-color: #f3f4f6;
}

.loading-spinner {
    padding: 3rem;
    text-align: center;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 4px solid rgba(52, 152, 219, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.spinner::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 4px solid rgba(52, 152, 219, 0.05);
    border-radius: 50%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error message styling */
.error-message {
    padding: 2rem;
    text-align: center;
    color: #e53e3e;
    background-color: #fff5f5;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #fed7d7;
}

.error-message svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: #e53e3e;
}

.error-message p {
    margin: 0.5rem 0 1.5rem;
    color: #2d3748;
    font-size: 1rem;
}

/* Refresh button states */
.refreshing {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.refreshing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.refreshing svg {
    opacity: 0;
}

.rates-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #edf2f7;
    width: 100%;
}

.rates-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #718096;
    font-size: 0.9rem;
    margin: 1rem 0 0;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.refresh-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
}

.refresh-button:hover {
    background-color: #f7fafc;
    border-color: #cbd5e0;
    color: #2d3748;
}

.refresh-button:active {
    transform: translateY(1px);
}

.refresh-button svg {
    transition: transform 0.5s ease;
}

.refresh-button:active svg {
    transform: rotate(360deg);
}

.rates-button {
    background: linear-gradient(135deg, #3498db 0%, #2c7be5 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(44, 123, 229, 0.3);
}

.rates-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 123, 229, 0.4);
}

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

.button-icon {
    transition: transform 0.3s ease;
}

.rates-button.expanded .button-icon {
    transform: rotate(180deg);
}

.rates-note {
    color: #6b7280;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 992px) {
    .rates-search-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .search-wrapper,
    .base-currency-selector {
        max-width: 100%;
    }
    
    .base-currency-selector {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .rates-box {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0.5rem;
        border-radius: 12px;
    }
    
    .rates-header h2 {
        font-size: 1.6rem;
    }
    
    .rates-subtitle {
        font-size: 0.95rem;
    }
    
    #rates-container th,
    #rates-container td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .currency-name {
        display: none;
    }
    
    .rates-note {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .refresh-button {
        width: 100%;
        justify-content: center;
    }
}

/* Animation for rate updates */
@keyframes highlightUpdate {
    0% { 
        background-color: rgba(72, 187, 120, 0.2);
        transform: translateY(-2px);
    }
    50% {
        background-color: rgba(72, 187, 120, 0.4);
    }
    100% { 
        background-color: transparent;
        transform: translateY(0);
    }
}

@keyframes highlightDecrease {
    0% { 
        background-color: rgba(248, 113, 113, 0.2);
        transform: translateY(-2px);
    }
    50% {
        background-color: rgba(248, 113, 113, 0.4);
    }
    100% { 
        background-color: transparent;
        transform: translateY(0);
    }
}

.updated-up {
    animation: highlightUpdate 1.5s ease-out;
}

.updated-down {
    animation: highlightDecrease 1.5s ease-out;
}

/* Pulse animation for loading rows */
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.loading-row {
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-row td {
    position: relative;
    overflow: hidden;
}

.loading-row td::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.7) 50%, 
        transparent 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#rates-container th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

#rates-container tr:hover {
    background-color: #f8f9fa;
}

#rates-container tr:last-child td {
    border-bottom: none;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rates-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.rates-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rates-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.button-icon {
    transition: transform 0.3s ease;
}

.rates-button.active .button-icon {
    transform: rotate(180deg);
}

.rates-note {
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
}

/* ============================================
   CONTACT CTA SECTION
   ============================================ */
.contact-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm58-60c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-56 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm56 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm14 39c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zM20 24c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zm54 44c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4zM10 60c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z' fill='%23e0f2fe' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
    z-index: 0;
}

.contact-cta .content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-cta-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.contact-cta-content {
    flex: 1;
    padding: 4rem;
    position: relative;
    z-index: 2;
}

.contact-cta h2 {
    color: #1e293b;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.contact-cta p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px;
}

.primary-button {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.secondary-button {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.secondary-button:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.secondary-button i {
    margin-right: 8px;
    font-size: 0.9em;
}

.contact-cta-image {
    flex: 0 0 45%;
    position: relative;
    align-self: stretch;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 0;
    overflow: hidden;
}

.contact-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-cta-content {
        padding: 3rem 2rem;
    }
    
    .contact-cta h2 {
        font-size: 2rem;
    }
    
    .contact-cta p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .contact-cta-image {
        width: 100%;
        padding: 2rem;
        min-height: 250px;
    }
    
    .contact-cta-image img {
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .contact-cta {
        padding: 4rem 1rem;
    }
    
    .contact-cta h2 {
        font-size: 1.75rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-cta {
        padding: 3rem 0.5rem;
    }
    
    .contact-cta-content {
        padding: 2rem 1.5rem;
    }
    
    .contact-cta h2 {
        font-size: 1.6rem;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 6rem 2rem;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonials .content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials h2 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.testimonials .section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-text {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: #e2e8f0;
    position: absolute;
    line-height: 1;
}

.testimonial-text::before {
    top: -1rem;
    left: -0.5rem;
}

.testimonial-text::after {
    bottom: -2rem;
    right: -0.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.testimonial-image {
    margin-right: 1rem;
}

.testimonial-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.author-info {
    text-align: left;
}

.author-name {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.author-title {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-cta p {
    color: #4b5563;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

/* Testimonial Card Variations */
.testimonial-card:nth-child(odd) {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.testimonial-card:nth-child(even) {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .testimonials {
        padding: 5rem 1.5rem;
    }
    
    .testimonials h2 {
        font-size: 2.2rem;
    }
    
    .testimonials-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 1rem;
    }
    
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .testimonials .section-subtitle {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 3rem 0.5rem;
    }
    
    .testimonials h2 {
        font-size: 1.75rem;
    }
    
    .testimonials .section-subtitle {
        padding: 0 0.5rem;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
        gap: 1.25rem;
    }
    
    .testimonial-card {
        padding: 1.75rem 1.25rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}



footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3498db;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3498db;
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.company-info p {
    color: #ecf0f1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

.social-icon:hover {
    background: #3498db;
    transform: translateY(-3px);
    color: white;
}

.social-icon i {
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.1);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hours-item .day {
    font-weight: 500;
    color: #ecf0f1;
}

.hours-item .time {
    color: #3498db;
    font-weight: 500;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 0.8rem;
}

.quick-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.quick-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item .icon {
    font-size: 1.2rem;
    color: #3498db;
}

.contact-item p {
    margin: 0;
    color: #ecf0f1;
}

.contact-item a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3498db;
}

.footer-bottom {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #3498db;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .company-info {
        align-items: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

#chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#chatbot-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 24px;
}

#chatbot-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#chatbot-dialog {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

#chatbot-dialog iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Add a subtle animation when the dialog appears */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */

@media (max-width: 1024px) {
    .about-us-container {
        flex-direction: column;
    }
    
    .about-us-image {
        max-width: 100%;
        height: 300px;
    }
    
    .about-us-text {
        padding: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 820px) {
    .testimonial-card {
        width: 100%;
    }

    .hero {
        min-height: 300px;
    }

    .faq-item h3 {
        font-size: 1.3rem;
    }

    .rates-box {
        padding: 1rem;
    }

    .rates-box h2 {
        font-size: 1.7rem;
    }

    #currency-search, #show-more {
        font-size: 0.9rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .header-logo {
        height: 50px;
    }

    nav a {
        padding: 0.25rem 0.5rem;
    }

    .about-us-text {
        font-size: 1rem;
    }

    .content ul {
        padding-left: 15px;
    }

    .faq-item h3 {
        font-size: 1.2rem;
    }
    
    .rates-box {
        padding: 1.5rem;
    }

    .rates-header h2 {
        font-size: 1.8rem;
    }
    
    .rates-subtitle {
        font-size: 1rem;
    }
    
    #rates-container th, #rates-container td {
        padding: 0.8rem;
    }
    
    .rates-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .about-us-intro {
        font-size: 1.2rem;
    }
    
    .about-us-features {
        flex-direction: column;
        gap: 1rem;
    }

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 540px) {
    .hero {
        min-height: 200px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .about-us-text {
        font-size: 1rem;
    }

    .testimonial-card {
        width: 100%;
    }

    .faq-item h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem;
    }
    
    .header-logo {
        height: 40px;
    }

    nav a {
        padding: 0.25rem;
    }

    .about-us-text {
        font-size: 0.9rem;
    }

    .content ul {
        padding-left: 10px;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .rates-box {
        padding: 0.75rem;
    }

    .rates-box h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 414px) {
    .hero {
        min-height: 150px;
    }

    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .about-us-text {
        font-size: 0.8rem;
    }

    .testimonial-card {
        width: 100%;
    }

    .faq-item h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    header {
        padding: 0.25rem;
    }
    
    .header-logo {
        height: 35px;
    }

    nav a {
        padding: 0.25rem;
    }

    .about-us-text {
        font-size: 0.7rem;
    }

    .content ul {
        padding-left: 5px;
    }

    .faq-item h3 {
        font-size: 0.8rem;
    }

    .rates-box {
        padding: 0.5rem;
    }

    .rates-box h2 {
        font-size: 1rem;
    }
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c0 1.657 1.343 3 3 3s3-1.343 3-3-1.343-3-3-3-3 1.343-3 3zm36-76c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM12 86c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm28-4c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z' fill='%23e2e8f0' fill-opacity='0.3' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.5;
}

.services .content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.services-intro {
    text-align: center;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    color: #3b82f6;
    font-size: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}

.service-card:nth-child(2n) .service-icon {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0ea5e9;
}

.service-card:nth-child(3n) .service-icon {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    color: #8b5cf6;
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.service-card h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
    width: 100%;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 70px;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    width: 100%;
    justify-content: center;
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: #2563eb;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .services {
        padding: 5rem 1.5rem;
    }
    
    .services h2 {
        font-size: 2.2rem;
    }
    
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 1rem;
    }
    
    .services h2 {
        font-size: 2rem;
    }
    
    .services-intro {
        font-size: 1rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .services-container {
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 3rem 0.5rem;
    }
    
    .services h2 {
        font-size: 1.75rem;
    }
    
    .services-intro {
        padding: 0 0.5rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 1.75rem 1.25rem;
    }
}

/* Currency Calculator */
.calculator-box {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 1000px;
    width: calc(100% - 2rem);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.calculator-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0.5rem 0 0;
    font-weight: 400;
    line-height: 1.5;
}

.calculator-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-inputs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.input-group {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    height: 56px;
}

.amount-input {
    flex: 1;
    padding: 0 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px 0 0 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    color: #1e293b;
    min-width: 120px;
    height: 100%;
    box-sizing: border-box;
}

.amount-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background-color: #ffffff;
}

.currency-select {
    padding: 0 1rem;
    border: 1px solid #e2e8f0;
    border-left: none;
    border-radius: 0 10px 10px 0;
    background-color: #f1f5f9;
    font-size: 0.95rem;
    cursor: pointer;
    min-width: 120px;
    color: #334155;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23334155%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.65em auto, 100%;
    padding-right: 2.5rem;
}

.currency-select:hover {
    background-color: #e2e8f0;
}

.currency-select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.swap-button {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    flex-shrink: 0;
    margin: 0 0.5rem;
}

.swap-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

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

.conversion-rate {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background-color: #f8fafc;
    border-radius: 8px;
    display: inline-block;
    margin: 0.5rem auto 0;
    font-weight: 500;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator-box {
        padding: 1.75rem 1.25rem;
        margin: 1.5rem auto;
        width: calc(100% - 1.5rem);
    }
    
    .calculator-header h2 {
        font-size: 1.5rem;
    }
    
    .calculator-subtitle {
        font-size: 1rem;
    }
    
    .calculator-inputs {
        flex-direction: column;
        gap: 1rem;
    }
    
    .input-group {
        width: 100%;
        max-width: 100%;
        height: 52px;
    }
    
    .swap-button {
        transform: rotate(90deg);
        margin: 0.25rem 0;
        width: 40px;
        height: 40px;
    }
    
    .amount-input,
    .currency-select {
        font-size: 0.95rem;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 4rem 0 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

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

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #4299e1;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.company-info p {
    color: #cbd5e0;
    margin: 1.5rem 0;
    line-height: 1.7;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #4299e1;
    transform: translateY(-3px);
}

.quick-links ul,
.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li,
.contact-info li {
    margin-bottom: 0.8rem;
}

.quick-links a,
.contact-info a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-links a i {
    font-size: 0.7rem;
    color: #4299e1;
    transition: all 0.3s ease;
}

.quick-links a:hover,
.contact-info a:hover {
    color: #4299e1;
    padding-left: 5px;
}

.contact-info i {
    width: 20px;
    color: #4299e1;
    margin-right: 0.5rem;
}

.business-hours {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.business-hours h5 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.business-hours p {
    color: #cbd5e0;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.newsletter p {
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #a0aec0;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 1px #4299e1;
}

.newsletter-form button {
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #3182ce;
    transform: translateY(-1px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #4299e1;
}

.footer-links span {
    color: #4a5568;
    font-size: 0.8rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        padding: 0.75rem;
    }
}
