/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.nav-contact {
    display: flex;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-main {
    display: block;
    background: linear-gradient(45deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 2rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature i {
    font-size: 1.2rem;
    color: #ffd700;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #4299e1;
    border: 2px solid #4299e1;
}

.btn-outline:hover {
    background: #4299e1;
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Card */
.hero-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-container {
    perspective: 1000px;
}

.card {
    width: 350px;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: rotateY(-10deg) rotateX(10deg);
    transition: all 0.3s ease;
}

.card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.card-brand {
    font-size: 1.2rem;
    font-weight: 700;
}

.card-brand-en {
    font-size: 0.9rem;
    opacity: 0.8;
}

.card-number {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px; /* Add some space from the card number */
}

.card-expiry .label {
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
}

.card-expiry .value {
    font-size: 1rem;
    font-weight: 600;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 6px;
    position: absolute;
    top: 80px; /* Positioned below the card number */
    left: 30px; /* Left aligned */
}

.card-chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}
/* Visa Section */
.visa-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.visa-form-container {
    width: 100%;
    max-width: 1000px; /* Keep max-width for overall section */
    margin: 0 auto;
    padding: 20px 0;
}

.btn-lg {
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    border-radius: 15px;
    background: linear-gradient(45deg, #FF5733, #FFC300);
    box-shadow: 0 10px 20px rgba(255, 87, 51, 0.4);
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(255, 87, 51, 0.8), 0 0 40px rgba(255, 87, 51, 0.6), 0 0 60px rgba(255, 87, 51, 0.4); /* Neon effect */
    background: linear-gradient(45deg, #FFC300, #FF5733);
}

.visa-form-container .btn {
    display: block;
    margin: 0 auto;
    width: fit-content; /* Make the button only as wide as its content */
}
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #4a5568;
    font-size: 1rem;
}

.form-group input {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.success-icon {
    font-size: 4rem;
    color: #48bb78;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.form-success p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
    color: #4299e1;
    font-weight: 600;
}

.user-info {
    background: #e6fffa;
    border: 1px solid #81e6d9;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: right;
}

.user-info h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.user-info p {
    color: #4a5568;
    margin: 0.25rem 0;
}

.visa-info {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.visa-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.visa-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visa-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #4a5568;
    line-height: 1.6;
}

.visa-info li i {
    color: #48bb78;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Dashboard Section */
.dashboard-section {
    background: white;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.dashboard-card .card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-card .card-header p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.security-badge i {
    font-size: 2rem;
    color: #ffd700;
}

.security-badge h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.security-badge p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.dashboard-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    margin-bottom: 1rem;
}

.dashboard-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.signup-link {
    text-align: center;
    opacity: 0.9;
}

.signup-link a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.dashboard-features {
    background: #f7fafc;
    border-radius: 20px;
    padding: 2.5rem;
}

.dashboard-features h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #718096;
    line-height: 1.6;
}

.support-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
}

.support-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.support-section p {
    color: #718096;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Exchange Section */
.exchange-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.exchange-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.exchange-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.exchange-card .card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.exchange-card .card-header p {
    color: #718096;
    margin-bottom: 2rem;
}

.live-update {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #e6fffa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.live-update i {
    font-size: 1.5rem;
    color: #38b2ac;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.live-update h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.live-update p {
    color: #4a5568;
    font-size: 0.9rem;
}

.last-update {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.currencies-grid h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
}

.currency-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.currency-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.currency-flag {
    font-size: 2rem;
    flex-shrink: 0;
}

.currency-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.currency-code {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.currency-info p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.currency-status {
    color: #48bb78;
    font-size: 0.8rem;
    font-weight: 600;
}

.exchange-info {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.exchange-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.info-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #718096;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-icon {
    font-size: 2rem;
    color: #667eea;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand .brand-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #667eea;
}

.link-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-group a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: #667eea;
}

.footer-app h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #667eea;
}

.app-download {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.app-download:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.app-download i {
    font-size: 2rem;
    color: #48bb78;
}

.app-download span {
    font-weight: 600;
    display: block;
}

.app-download small {
    opacity: 0.8;
    font-size: 0.8rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .card {
        width: 300px;
        height: 190px;
        transform: none;
    }
    
    .visa-form-container,
    .dashboard-content,
    .exchange-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .support-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-card,
    .visa-info,
    .dashboard-features {
        padding: 1.5rem;
    }
    
    .card {
        width: 280px;
        height: 180px;
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Focus Styles */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-actions,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: white;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
}


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

.recharge-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23667eea" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23764ba2" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.recharge-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.recharge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.recharge-card:hover::before {
    left: 100%;
}

.recharge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.recharge-card:active {
    transform: translateY(-5px) scale(0.98);
}

.recharge-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.recharge-card.disabled:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.recharge-card:hover .card-icon::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.card-icon i {
    font-size: 2rem;
    color: white;
    z-index: 1;
    position: relative;
}

.recharge-card.disabled .card-icon {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-family: 'Cairo', sans-serif;
}

.card-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Cairo', sans-serif;
}

.card-arrow {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.card-arrow i {
    color: white;
    font-size: 1rem;
}

.recharge-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.card-status {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

.card-status i {
    font-size: 1rem;
}

/* Hover Effects for Different Card Types */
.recharge-card[data-url*="SYPtoUSD"]:hover .card-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.recharge-card[data-url*="usdt_to_shamcash"]:hover .card-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.recharge-card[data-url*="sham_cash_to_usdt"]:hover .card-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .recharge-section {
        padding: 3rem 0;
    }
    
    .recharge-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .recharge-card {
        padding: 2rem 1.5rem;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .card-icon i {
        font-size: 1.75rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .recharge-card {
        padding: 1.5rem 1rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .card-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}



/* Recharge Section Enhancements */
.recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.recharge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.recharge-card .card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #667eea; /* Default icon color */
    transition: color 0.3s ease;
}

.recharge-card.clicked .card-icon {
    color: #48bb78; /* Color after click */
}

.recharge-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.recharge-card .card-description {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 1.5rem;
}

.recharge-card .card-arrow {
    font-size: 1.5rem;
    color: #667eea;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.recharge-card:hover .card-arrow {
    opacity: 1;
    left: 2rem;
}

.recharge-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.recharge-card.disabled:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.recharge-card.disabled .card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e53e3e;
    font-weight: 600;
}

.recharge-card.disabled .card-status i {
    font-size: 1rem;
}

@media (min-width: 768px) {
    .recharge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* Footer Styles */
.footer {
    background-color: #2d3748;
    color: #cbd5e0;
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-brand .brand-description {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #667eea;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact p i {
    color: #667eea;
}

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

.footer-contact a:hover {
    color: #667eea;
}

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

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.034rem; /* Reduced by 6% from 1.1rem */
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #a0aec0;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }
}




/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .recharge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-brand {
        flex: 1;
        min-width: 200px;
    }
    
    .nav-contact {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .hero-card {
        margin-top: 2rem;
    }
    
    .card-container {
        transform: scale(0.9);
    }
    
    .recharge-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .recharge-card {
        padding: 1.5rem;
    }
    
    .recharge-card h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .dashboard-features .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .exchange-rates {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .feature {
        padding: 0.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .card {
        width: 280px;
        height: 180px;
    }
    
    .card-number {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    .recharge-card {
        padding: 1.2rem;
        text-align: center;
    }
    
    .recharge-card h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .recharge-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .form-card {
        padding: 1.2rem;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
    
    .visa-info {
        padding: 1.2rem;
    }
    
    .visa-info ul li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .dashboard-card {
        padding: 1.2rem;
    }
    
    .security-badge {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .security-badge i {
        font-size: 2rem;
    }
    
    .exchange-card {
        padding: 1.2rem;
    }
    
    .rate-display {
        font-size: 1.8rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 0.8rem 1.5rem;
    }
    
    .contact-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .recharge-card {
        min-height: 120px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .recharge-card:active {
        transform: scale(0.98);
    }
    
    .form-group input,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-chip {
        background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAzMiAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjI0IiByeD0iNCIgZmlsbD0iI0ZGRiIvPgo8L3N2Zz4K');
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 6rem 0 2rem;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .card-container {
        transform: scale(0.8);
    }
}

/* Print styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .hero-actions,
    .btn,
    .contact-link {
        display: none !important;
    }
    
    .hero {
        padding-top: 2rem;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 1rem;
    }
    
    .recharge-card,
    .form-card,
    .dashboard-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}



.visa-form-container .btn {
    display: block;
    margin: 0 auto;
}




