
/* Professional Green for Hero Badges */
.hero-badges .badge {
    background: rgba(16, 185, 129, 0.15); /* Emerald tint */
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399; /* Emerald 400 */
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-badges .badge:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

/* Professional Hero Typography & Styling (Right Part) */
.hero-title {
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 24px;
    padding-bottom: 10px;
    background: linear-gradient(180deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 32px;
}

.hero-actions {
    gap: 16px;
    margin-bottom: 32px;
}

.hero-badges .badge {
    font-size: 14px;
    padding: 8px 16px;
}

/* Hero Note (Bottom) Styling */
.hero-note {
    font-size: 15px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header Layout - Ensure Logo Right, Buttons Left (RTL) */
.brand {
    margin-left: auto;
}

/* Tagline Styling */
.brand-tagline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1; /* Tighter line height */
    margin-left: 16px; /* Reduced spacing */
    border-left: 1px solid rgba(255,255,255,0.15); /* Slightly more visible */
    padding-left: 16px; /* Reduced spacing */
    text-align: left; /* Align text towards the border/separator */
    height: 36px; /* Fixed height for consistent border size */
    margin-top: 2px; /* Optical adjustment */
}

.brand-tagline span:first-child {
    font-size: 13px; /* Refined size */
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    font-family: 'Cairo', sans-serif; /* Ensure consistency */
}

.brand-tagline span:last-child {
    font-size: 10px; /* Refined size */
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px; /* More spacing for elegance */
    margin-top: 2px;
}

/* Increase Logo Size Globally */
.nav-inner {
    height: auto !important;
    min-height: var(--nav-h);
}

.brand-logo {
    height: 76px; /* Increased from 68px */
    width: auto;
    margin-top: 6px; /* Add vertical spacing */
    margin-bottom: 6px;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    /* Adjusted logo size for better proportion on mobile */
    .brand-logo {
        height: 52px; /* Reduced from 64px */
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .brand-tagline {
        margin: 0;
        padding: 0 0 0 12px;
        border-left: 1px solid rgba(255,255,255,0.3);
        align-items: flex-start;
        width: auto;
        text-align: left;
        margin-left: 6px; /* Reduced from 12px to bring closer to button */
        height: 32px; /* Fixed height for consistent border */
        justify-content: center;
        display: flex;
        flex-direction: column;
        direction: ltr; /* Ensure Left Alignment for English text */
    }
    
    .brand-tagline span:first-child {
        font-size: 13px;
        font-weight: 700;
        line-height: 1.1;
        color: #fff;
    }
    
    .brand-tagline span:last-child {
        font-size: 9px;
        margin-top: 3px;
        opacity: 0.7;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #fff;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }

    /* Mobile: Stack Services & Work Cards Vertically */
    .services-slider-container .showcase-rail,
    .work-slider-container .showcase-rail {
        display: flex;
        flex-direction: column;
        gap: 24px;
        overflow-x: hidden;
        scroll-snap-type: none;
        padding-bottom: 0;
        width: 100%;
    }

    .services-slider-container .showcase-slide,
    .work-slider-container .showcase-slide {
        width: 100%;
        min-width: 100%;
        margin: 0;
        padding: 0;
    }

    .services-slider-container .card,
    .work-slider-container .card {
        width: 100%;
        margin: 0;
    }
}

/* Professional Footer Redesign */
@keyframes auroraMove {
    0% { background-position: 0% 50%, 100% 50%; }
    50% { background-position: 100% 50%, 0% 50%; }
    100% { background-position: 0% 50%, 100% 50%; }
}

@keyframes floatGlow {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.5; }
}

.footer {
    background-color: #020617;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Premium Mesh Gradient Background */
.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 40%);
    animation: auroraMove 20s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

/* Secondary Glow Layer */
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    animation: floatGlow 10s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content is above overlay */
.footer > .container {
    position: relative;
    z-index: 2;
}

.footer-top {
    gap: 60px; /* Increased gap for cleaner layout */
    margin-bottom: 60px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 16px;
    color: #f8fafc;
    letter-spacing: -0.01em;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* RTL alignment */
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4); /* Gradient Accent */
    border-radius: 3px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Larger touch target */
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    color: #38bdf8;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover .contact-icon {
    background: rgba(56, 189, 248, 0.1);
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.1);
}

.contact-item {
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-item a, 
.contact-item span:not(.contact-icon) {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    transition: color 0.2s ease;
}

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

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    font-size: 15px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-right: 12px; /* Move left on hover in RTL */
    transform: none; /* Reset existing transform */
}

/* Mobile Footer Optimization */
@media (max-width: 900px) {
    .footer {
        padding-top: 60px;
        padding-bottom: 40px;
        text-align: center; /* Changed from right to center */
    }

    .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns grid */
        gap: 32px; /* Adjusted gap */
        margin-bottom: 40px;
    }

    /* Brand Column (Full Width) */
    .footer-col-brand {
        grid-column: 1 / -1; /* Span full width */
        text-align: center;
        align-items: center;
        margin-bottom: 16px;
    }

    .footer-brand {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* Quick Links (2nd Child) - Left Side in RTL visual (Right in Grid) */
    .footer-top > .footer-col:nth-child(2) {
        text-align: center;
        align-items: center;
    }

    /* Services (3rd Child) - Right Side in RTL visual (Left in Grid) */
    .footer-top > .footer-col:nth-child(3) {
        text-align: center;
        align-items: center;
    }

    /* Contact Column (Full Width) */
    .footer-top > .footer-col:last-child {
        grid-column: 1 / -1; /* Span full width */
        text-align: right; /* Changed to right */
        align-items: flex-start; /* Changed to start */
        margin-top: 16px;
    }
    
    .footer-links {
        align-items: center; /* Center items in the side-by-side columns */
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    /* Ensure links don't break awkwardly */
    .footer-links a {
        justify-content: center;
        white-space: nowrap;
    }
    
    .contact-item {
        justify-content: flex-start; /* Changed to start */
        margin-bottom: 20px;
    }
    
    .footer-title::after {
        right: 50%; /* Center the underline */
        transform: translateX(50%); /* Center the underline */
        left: auto;
    }

    /* Override title underline for Contact section */
    .footer-top > .footer-col:last-child .footer-title::after {
        right: 0;
        transform: none;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 24px;
        text-align: center;
        margin-top: 40px;
        padding-top: 30px;
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-copyright {
        display: flex;
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-credit {
        display: block;
        color: #64748b;
        font-size: 13px;
        margin-top: 4px;
    }
}

/* Modern Steps Redesign (Vertical Lines) */
.steps-box-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    margin-top: 24px;
}

.steps-title {
    font-size: 16px;
    color: #f8fafc;
    margin-bottom: 20px;
    text-align: right;
    font-weight: 700;
    padding-right: 8px;
    border-right: 3px solid #3b82f6;
    line-height: 1;
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-card {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: right;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0.4) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateX(-4px); /* Slight movement for interaction */
}

.step-icon {
    width: 38px;
    height: 38px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-left: 16px;
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.step-card:hover .step-icon {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.step-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    font-weight: 500;
    flex-grow: 1;
}

.step-number {
    font-size: 24px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-right: 12px;
    user-select: none;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    width: auto;
    height: auto;
}

.step-card:hover .step-number {
    color: rgba(59, 130, 246, 0.1);
}

/* Enhanced File Upload */
.file-upload-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.file-upload-wrapper:hover, .file-upload-wrapper.drag-over {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.upload-icon-large {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.file-upload-wrapper:hover .upload-icon-large {
    color: #60a5fa;
    transform: scale(1.1) translateY(-5px);
}

.upload-text-main {
    display: block;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 6px;
}

.upload-text-sub {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Success State for Upload */
.file-upload-wrapper.has-file {
    border-color: #10b981;
    border-style: solid;
    background: rgba(16, 185, 129, 0.05);
}

.file-upload-wrapper.has-file .upload-icon-large {
    color: #10b981;
}

