/* Base Styles */
:root {
    --riseup-orange: #FF8C00;
    --riseup-dark: #0a0a0a;
    --riseup-gray: #1a1a1a;
    --riseup-light: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--riseup-dark);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--riseup-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--riseup-orange);
    border-radius: 4px;
}

/* Utility Classes */
.bg-riseup-dark { background-color: var(--riseup-dark); }
.bg-riseup-gray { background-color: var(--riseup-gray); }
.text-riseup-orange { color: var(--riseup-orange); }

/* Glass Effect */
.glass {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #FF8C00 0%, #ffb700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Background */
.hero-bg {
    background: radial-gradient(circle at 50% 50%, rgba(255, 140, 0, 0.12) 0%, rgba(10, 10, 10, 1) 60%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Logo Hover Animation */
.logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo-img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.4s ease;
    filter: blur(20px);
    z-index: 1;
}

.logo-wrapper:hover .logo-img {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.6));
}

.logo-wrapper:hover .logo-glow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Quick Links Animation */
.quick-link {
    position: relative;
    padding-left: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--riseup-orange);
    transition: all 0.3s ease;
}

.quick-link:hover {
    padding-left: 20px;
    color: var(--riseup-orange);
}

.quick-link:hover::before {
    left: 0;
    opacity: 1;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #FF8C00 0%, #ff6b00 100%);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(255, 140, 0, 0.5);
}

.btn-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-hover:hover::before {
    left: 100%;
}

/* Service Cards - Luxury Hover Animation */
.service-card {
    background-color: var(--riseup-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--riseup-orange), #ffb700);
    transition: width 0.4s ease;
}

.service-card:hover::after {
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(255, 140, 0, 0.25);
    border-color: rgba(255, 140, 0, 0.3);
}

.service-card:hover .icon-box {
    background-color: var(--riseup-orange);
    color: white;
    transform: rotateY(360deg);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 140, 0, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--riseup-orange);
    margin-bottom: 1.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Services Page - Large Cards Animation */
.service-large-card {
    background-color: var(--riseup-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-large-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-large-card:hover::before {
    opacity: 1;
}

.service-large-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
}

.service-large-card:hover::after {
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: inset 0 0 30px rgba(255, 140, 0, 0.1);
}

.service-large-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(255, 140, 0, 0.2);
}

.service-large-card:hover .service-icon-large {
    transform: scale(1.1) rotate(5deg);
    background: var(--riseup-orange);
    color: white;
}

.service-icon-large {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--riseup-orange);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* About Page - Image Frame */
.about-image-container {
    position: relative;
    display: inline-block;
}

.about-image-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

.about-image-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--riseup-orange), #ffb700, var(--riseup-orange));
    border-radius: 1.7rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image-container:hover .about-image-frame::before {
    opacity: 1;
}

.about-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 1.5rem;
    pointer-events: none;
}

.about-image-frame img {
    display: block;
    width: 100%;
    border-radius: 1.5rem;
    transition: transform 0.5s ease;
}

.about-image-container:hover .about-image-frame img {
    transform: scale(1.02);
}

.about-image-glow {
    position: absolute;
    -inset: 1rem;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    opacity: 0.5;
    z-index: -2;
    transition: opacity 0.4s ease;
}

.about-image-container:hover .about-image-glow {
    opacity: 0.8;
}

.about-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--riseup-orange);
    transition: all 0.4s ease;
    opacity: 0;
}

.about-image-container:hover .about-corner {
    opacity: 1;
}

.about-corner.top-left {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
    border-radius: 10px 0 0 0;
}

.about-corner.top-right {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 10px 0 0;
}

.about-corner.bottom-left {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 10px;
}

.about-corner.bottom-right {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 10px 0;
}

/* Form Styles */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-input:focus {
    border-color: var(--riseup-orange);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.form-input::placeholder {
    color: #6b7280;
}

/* Modern Select Dropdown */
.custom-select {
    position: relative;
    display: block;
}

.select-modern {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 3rem 0.75rem 1rem;
    color: white;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.select-modern:hover {
    border-color: rgba(255, 140, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.select-modern:focus {
    border-color: var(--riseup-orange);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.select-modern.selected {
    border-color: var(--riseup-orange);
    background: rgba(255, 140, 0, 0.05);
}

/* Custom Arrow */
.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--riseup-orange);
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select:hover .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown Options Styling */
.select-modern option {
    background: #1a1a1a;
    color: white;
    padding: 12px;
    font-size: 0.95rem;
}

.select-modern option:hover,
.select-modern option:focus,
.select-modern option:checked {
    background: var(--riseup-orange);
    color: white;
}

.select-modern option:first-child {
    color: #6b7280;
}

/* Placeholder style */
.select-modern:invalid {
    color: #6b7280;
}

/* Animation for selection */
@keyframes selectRipple {
    to {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* Focus animation */
.select-modern:focus + .select-arrow {
    animation: arrowBounce 0.5s ease;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-60%); }
}

/* Label animation on focus */
.custom-select:focus-within label {
    color: var(--riseup-orange);
    transform: translateY(-2px);
}
/* Other field animation */
.other-field {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.other-field.visible {
    max-height: 100px;
    opacity: 1;
    margin-top: 0.5rem;
}

/* Success Modal */
.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.success-modal.active {
    display: flex;
    opacity: 1;
}

.success-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(255, 140, 0, 0.25);
}

.success-modal.active .success-content {
    transform: scale(1) translateY(0);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--riseup-orange), #ffb700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(255, 140, 0, 0); }
}

/* Mobile Menu - Modern Design */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 9999;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

[dir="rtl"] .mobile-menu {
    right: auto;
    left: -100%;
}

.mobile-menu.active {
    right: 0;
}

[dir="rtl"] .mobile-menu.active {
    right: auto;
    left: 0;
}

/* Menu Overlay */
.mobile-menu .menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

/* Menu Content */
.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    overflow-y: auto;
    z-index: 2;
}

/* Close Button */
.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--riseup-orange);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

[dir="rtl"] .mobile-menu-close {
    right: auto;
    left: 24px;
}

.mobile-menu-close:hover {
    background: var(--riseup-orange);
    color: white;
    transform: rotate(90deg);
    border-color: transparent;
}

/* Menu Links */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    z-index: 3;
}

.mobile-menu-link {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.mobile-menu-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-link:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu-link:nth-child(6) { animation-delay: 0.35s; }
.mobile-menu-link:nth-child(7) { animation-delay: 0.4s; }

.mobile-menu-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
    z-index: -1;
}

.mobile-menu-link:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--riseup-orange);
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(255, 140, 0, 0.3);
}

[dir="rtl"] .mobile-menu-link:hover {
    transform: translateX(-5px) scale(1.02);
}

.mobile-menu-link:hover::before {
    width: 300px;
    height: 300px;
}

.mobile-menu-link.highlight {
    background: linear-gradient(135deg, var(--riseup-orange) 0%, #ff6b00 100%);
    border-color: transparent;
    color: white;
}

.mobile-menu-link.highlight:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 30px -10px rgba(255, 140, 0, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Body when menu is open */
body.menu-open {
    overflow: hidden;
}
/* Reveal Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Counter Animation */
.counter-value {
    font-variant-numeric: tabular-nums;
    display: inline-block;
}

/* Shake Animation */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Navigation Active State */
.nav-link {
    position: relative;
}

.nav-link.active {
    color: var(--riseup-orange);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--riseup-orange);
    border-radius: 2px;
}

/* Card Hover Effects */
.case-card {
    background-color: var(--riseup-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.case-card:hover {
    border-color: rgba(255, 140, 0, 0.3);
    transform: translateY(-5px);
}

/* Blog Cards */
.blog-card {
    background-color: var(--riseup-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    border-color: var(--riseup-orange);
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-image {
    transition: transform 0.5s ease;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: var(--riseup-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    width: 100%;
    max-width: 42rem;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
}

/* Table Styles */
.data-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

.data-table th {
    padding: 1rem 1.5rem;
    font-weight: 500;
    color: #9ca3af;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .service-card,
    .case-card,
    .blog-card,
    .service-large-card {
        margin-bottom: 1rem;
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--riseup-orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error States */
.border-success {
    border-color: #10b981 !important;
}

.border-error {
    border-color: #ef4444 !important;
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
}

.orb-1 {
    width: 18rem;
    height: 18rem;
    background: var(--riseup-orange);
    top: 5rem;
    left: 2.5rem;
}

.orb-2 {
    width: 24rem;
    height: 24rem;
    background: #ea580c;
    bottom: 5rem;
    right: 2.5rem;
    animation-delay: 1s;
}

/* Professional Frame Animation for Why Choose RiseUp Image */
.why-choose-image-container {
    position: relative;
    display: inline-block;
    border-radius: 1.5rem;
    overflow: visible;
}

.why-choose-image-container::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--riseup-orange), #ffb700, var(--riseup-orange));
    border-radius: 1.7rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-choose-image-container:hover::before {
    opacity: 1;
}

.why-choose-image-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid rgba(255, 140, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-choose-image-container:hover .why-choose-image-frame {
    border-color: rgba(255, 140, 0, 0.8);
    box-shadow: 
        0 0 30px rgba(255, 140, 0, 0.3),
        0 0 60px rgba(255, 140, 0, 0.2),
        0 0 90px rgba(255, 140, 0, 0.1);
}

.why-choose-image-frame img {
    display: block;
    width: 100%;
    border-radius: 1.5rem;
    transition: transform 0.5s ease;
}

.why-choose-image-container:hover .why-choose-image-frame img {
    transform: scale(1.05);
}

/* Animated Corner Accents */
.why-choose-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--riseup-orange);
    transition: all 0.4s ease;
    opacity: 0;
    z-index: 10;
}

.why-choose-image-container:hover .why-choose-corner {
    opacity: 1;
}

.why-choose-corner.top-left {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none;
    border-radius: 12px 0 0 0;
    animation: cornerPulse 2s infinite;
}

.why-choose-corner.top-right {
    top: -15px;
    right: -15px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 12px 0 0;
    animation: cornerPulse 2s infinite 0.5s;
}

.why-choose-corner.bottom-left {
    bottom: -15px;
    left: -15px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 12px;
    animation: cornerPulse 2s infinite 1s;
}

.why-choose-corner.bottom-right {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 12px 0;
    animation: cornerPulse 2s infinite 1.5s;
}

@keyframes cornerPulse {
    0%, 100% { 
        transform: scale(1);
        border-color: var(--riseup-orange);
    }
    50% { 
        transform: scale(1.1);
        border-color: #ffb700;
    }
}

/* Glowing Background Effect */
.why-choose-glow {
    position: absolute;
    inset: -1rem;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    opacity: 0.3;
    z-index: -2;
    transition: opacity 0.4s ease;
}

.why-choose-image-container:hover .why-choose-glow {
    opacity: 0.6;
}

/* Submit Button Fix */
#submitBtn {
    position: relative;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
}

#submitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(255, 140, 0, 0.5);
}

#submitBtn:active {
    transform: translateY(0);
}

#growthForm {
    position: relative;
    z-index: 1;
}

/* Input prefix styling for budget fields */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 1rem;
    color: var(--riseup-orange);
    font-weight: 600;
    z-index: 10;
}

.input-with-prefix {
    padding-left: 2.5rem !important;
}
/* ==========================================
   RTL Support for Arabic Language
   ========================================== */

/* Arabic Font */
[dir="rtl"] body {
    font-family: 'Cairo', 'Inter', sans-serif;
}

/* RTL Utilities */
[dir="rtl"] .space-x-8 > * + * {
    --tw-space-x-reverse: 1;
}

[dir="rtl"] .space-x-4 > * + * {
    --tw-space-x-reverse: 1;
}

[dir="rtl"] .space-x-2 > * + * {
    --tw-space-x-reverse: 1;
}

[dir="rtl"] .ml-4 {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .mr-2 {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .ml-2 {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .text-left {
    text-align: right;
}

[dir="rtl"] .quick-link {
    padding-left: 0;
    padding-right: 0;
}

[dir="rtl"] .quick-link::before {
    left: auto;
    right: -20px;
    content: '←';
}

[dir="rtl"] .quick-link:hover {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .quick-link:hover::before {
    left: auto;
    right: 0;
}

/* Form adjustments for RTL */
[dir="rtl"] .input-prefix {
    left: auto;
    right: 1rem;
}

[dir="rtl"] .input-with-prefix {
    padding-left: 1rem !important;
    padding-right: 2.5rem !important;
}

[dir="rtl"] .select-arrow {
    right: auto;
    left: 1rem;
}

/* Counter animation for Arabic numbers */
[dir="rtl"] .counter-value {
    font-family: 'Cairo', sans-serif;
}

/* Mobile menu RTL */
[dir="rtl"] .mobile-menu-close {
    right: auto;
    left: 24px;
}

[dir="rtl"] .mobile-menu-link:hover {
    transform: translateX(-5px) scale(1.02);
}

/* Service cards RTL */
[dir="rtl"] .service-card::before {
    left: auto;
    right: -100%;
    background: linear-gradient(270deg, transparent, rgba(255, 140, 0, 0.1), transparent);
}

[dir="rtl"] .service-card:hover::before {
    left: auto;
    right: 100%;
}

/* About image corners RTL */
[dir="rtl"] .about-corner.top-left {
    left: auto;
    right: -10px;
    border-right: 3px solid var(--riseup-orange);
    border-left: none;
    border-radius: 0 10px 0 0;
}

[dir="rtl"] .about-corner.top-right {
    right: auto;
    left: -10px;
    border-left: 3px solid var(--riseup-orange);
    border-right: none;
    border-radius: 10px 0 0 0;
}

[dir="rtl"] .about-corner.bottom-left {
    left: auto;
    right: -10px;
    border-right: 3px solid var(--riseup-orange);
    border-left: none;
    border-radius: 0 0 10px 0;
}

[dir="rtl"] .about-corner.bottom-right {
    right: auto;
    left: -10px;
    border-left: 3px solid var(--riseup-orange);
    border-right: none;
    border-radius: 0 0 0 10px;
}

/* Why choose corners RTL */
[dir="rtl"] .why-choose-corner.top-left {
    left: auto;
    right: -15px;
    border-right: 3px solid var(--riseup-orange);
    border-left: none;
    border-radius: 0 12px 0 0;
}

[dir="rtl"] .why-choose-corner.top-right {
    right: auto;
    left: -15px;
    border-left: 3px solid var(--riseup-orange);
    border-right: none;
    border-radius: 12px 0 0 0;
}

[dir="rtl"] .why-choose-corner.bottom-left {
    left: auto;
    right: -15px;
    border-right: 3px solid var(--riseup-orange);
    border-left: none;
    border-radius: 0 0 12px 0;
}

[dir="rtl"] .why-choose-corner.bottom-right {
    right: auto;
    left: -15px;
    border-left: 3px solid var(--riseup-orange);
    border-right: none;
    border-radius: 0 0 0 12px;
}

/* Arrow animations for RTL */
[dir="rtl"] .btn-hover::before {
    left: auto;
    right: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

[dir="rtl"] .btn-hover:hover::before {
    left: auto;
    right: 100%;
}

/* Blog card RTL */
[dir="rtl"] article.blog-card {
    text-align: right;
}

/* Responsive adjustments for RTL */
@media (max-width: 768px) {
    [dir="rtl"] .hero-title {
        font-size: 2.5rem;
    }
}