:root {
    --primary-color: #1a365d;
    --text-color: #ffffff;
    --font-family: 'IBM Plex Sans Arabic', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

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

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-image: url('assets/landing.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}


.container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.logo img {
    height: 90px;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
    margin: 0 auto;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    font-weight: 800;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    color: var(--primary-color);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.icon-btn:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.primary-btn {
    background-color: #ffffff;
    color: var(--primary-color);
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.primary-btn:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.primary-btn.sm-btn {
    padding: 10px 24px;
    font-size: 15px;
    border-radius: 6px;
}

/* Hero Content */
.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 650px;
    padding-bottom: 50px;
}

.hero-content h1 {
    font-size: 46px;
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-group {
    display: flex;
    gap: 20px;
}

.outline-btn {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid #ffffff;
    padding: 13px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.outline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.outline-btn i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 38px;
    }
    
    .nav-links {
        gap: 30px;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002; /* Above the full screen menu */
    }

    .logo {
        position: relative;
        z-index: 1002; /* Keep logo visible above menu */
    }

    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(12, 24, 33, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 1001;
        box-shadow: none;
        border-radius: 0;
        overflow-y: auto;
    }

    .nav-links {
        flex-direction: column;
        align-items: center; /* Center the list items horizontally */
        width: 100%; /* Ensure it spans the full width of the menu */
        gap: 30px;
        margin-right: 0;
        padding: 0; 
        text-align: center;
        margin-bottom: 40px;
    }

    .nav-links a {
        font-size: 24px; /* Larger font for full screen */
    }

    .nav-actions {
        flex-direction: column;
        gap: 20px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 25px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .cta-group {
        justify-content: center;
        flex-wrap: nowrap; /* Keep on one line */
        gap: 10px;
        width: 100%;
    }

    /* Make buttons slightly smaller on mobile to fit perfectly side by side */
    .cta-group .primary-btn, 
    .cta-group .outline-btn {
        padding: 12px 15px;
        font-size: 13px;
        flex: 1; /* Make them equal width */
        display: flex;
        justify-content: center;
        white-space: nowrap;
    }
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f3efe6;
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.badge {
    display: inline-block;
    padding: 8px 24px;
    background-color: #ffffff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #E0B441CC;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 320px;
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    min-height: 0; /* Prevents intrinsic aspect ratio from blowing up height */
    margin: 0 !important;
    padding: 0 !important;
}

.service-card.wide-card {
    grid-column: span 2;
}

.service-card img {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    border-radius: 20px;
    margin: 0 !important;
    padding: 0 !important;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background-color: #DFB13A70;
    padding: 15px 10px;
    border-radius: 12px;
    color: #ffffff;
    text-align: center;
}

.service-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.service-content p {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.gold-btn {
    background-color: #E0B441;
    color: #ffffff;
    border: none;
    padding: 14px 65px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-family);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.gold-btn:hover {
    background-color: #cfa333;
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: var(--primary-color);
}

.outline-badge {
    background-color: transparent;
    border: 1px solid #dfb13a;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: #f9f7f0;
    border: 1px solid rgba(223, 177, 58, 0.4); /* Light gold border */
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #dfb13a;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    line-height: 1.6;
}

/* Our Works Section (Swiper) */
.our-works-section {
    padding: 80px 0;
    background-color: #f3efe6;
    color: var(--primary-color);
    overflow: hidden;
}

.works-swiper {
    width: 100%;
    padding: 20px 0;
}

.works-swiper .swiper-slide {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.works-swiper .swiper-slide-active {
    transform: scale(1.05);
    opacity: 1;
    z-index: 2;
}

.works-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: var(--primary-color);
}

.timeline-container {
    position: relative;
    max-width: 100%;
    margin: 80px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ebdca1;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
}

.step-content-top, .step-content-bottom {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.step-point {
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border: 5px solid var(--primary-color);
    border-radius: 50%;
    margin: 15px 0;
    box-shadow: 0 0 0 4px #ffffff;
}

.step-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-color);
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #f3efe6;
    color: var(--primary-color);
}

.testimonials-swiper {
    width: 100%;
    padding: 10px 10px 40px; /* added padding to prevent box-shadow and transform clipping */
}

.testimonials-swiper .swiper-slide {
    height: auto; /* Allow slides to stretch to equal height */
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid rgba(223, 177, 58, 0.4);
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    transition: transform 0.3s ease;
    height: 100%; /* Fill the equal-height slide */
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.stars {
    color: #dfb13a;
    font-size: 16px;
    display: flex;
    gap: 3px;
}

.testimonial-body p {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    text-align: right;
}

.quote-shape {
    position: absolute;
    bottom: 25px;
    left: 25px;
    width: 45px;
    opacity: 0.3;
    z-index: 1;
}

/* CTA Banner Section */
.cta-banner-section {
    padding: 20px 0 80px;
    background-color: #f3efe6; /* Matches the background of the testimonials section */
}

.cta-banner-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 60px;
    background-color: var(--primary-color);
}

.cta-bg-img {
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: top center;
    background-size: cover;
    /* object-position: right center; */
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(13, 33, 59, 0.9) 45%, var(--primary-color) 65%, var(--primary-color) 100%);
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    width: 50%;
    color: #ffffff;
    padding-right: 20px; /* Add some padding on the right */
    /* Removed margin-right: auto which pushed it left in RTL */
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-content p {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 35px;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Footer Section */
.main-footer {
    position: relative;
    background-image: url('assets/footerImage.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding-top: 60px;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 40, 70, 0.95); /* Deep dark blue overlay */
    z-index: 1;
}

.main-footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.footer-col {
    flex: 1;
}

.footer-col:nth-child(1) {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col:nth-child(2),
.footer-col:nth-child(3) {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col:nth-child(4) {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

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

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

.footer-links li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #dfb13a;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 15px;
    color: #cccccc;
    font-weight: 500;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #e0e0e0;
}

.contact-info i {
    font-size: 18px;
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #ffffff;
    font-size: 22px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #dfb13a;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
    color: #cccccc;
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
    margin-top: -1px; /* overlap with the border above it, or I can just keep one border */
}

/* Services and Features Responsive adjustments */
@media (max-width: 992px) {
    .services-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.wide-card {
        grid-column: span 2;
    }

    .cta-banner-container {
        padding: 40px;
    }
    
    .cta-content {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .services-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.wide-card {
        grid-column: span 1;
    }

    .cta-banner-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
    }

    .cta-bg-img {
        width: 100%;
    }

    .cta-overlay {
        background: linear-gradient(to top, var(--primary-color) 0%, var(--primary-color) 60%, rgba(13, 33, 59, 0.7) 100%);
    }

    .cta-content {
        width: 100%;
        margin-right: 0;
        padding-left: 0;
        margin-top: 150px; /* Push content down so image is visible on top */
    }

    .cta-content h2 {
        font-size: 28px;
    }

    /* Timeline Mobile (Vertical) */
    .timeline-container {
        margin: 40px 0;
        padding-right: 0;
        position: relative;
    }

    .timeline-line {
        display: block;
        width: 2px;
        height: 100%;
        top: 0;
        right: 22px; /* Center of the 44px number circle */
        left: auto;
        transform: none;
    }
    
    .timeline-steps {
        flex-direction: column;
        gap: 30px;
        align-items: stretch; /* Make steps full width */
    }
    
    .timeline-step {
        width: 100%;
        max-width: 100%;
        flex-direction: row !important;
        background-color: transparent;
        padding: 0;
        border: none;
        gap: 20px;
        position: relative;
        z-index: 2;
    }
    
    .timeline-step.step-down {
        flex-direction: row-reverse !important; 
    }
    
    .step-point {
        display: none;
    }

    .step-content-top, .step-content-bottom {
        height: auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .timeline-step.step-up .step-content-top,
    .timeline-step.step-down .step-content-bottom {
        /* This targets the Number container */
        width: auto;
        flex-shrink: 0;
    }

    .timeline-step.step-up .step-content-bottom,
    .timeline-step.step-down .step-content-top {
        /* This targets the Title container */
        flex-grow: 1;
        width: 100%;
    }

    .step-number {
        font-size: 16px;
        order: 2;
        width: 44px;
        height: 44px;
        background-color: var(--primary-color);
        color: #dfb13a;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        border: 4px solid #ffffff;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        position: relative;
        z-index: 3;
    }

    .step-title {
        font-size: 16px;
        margin: 0;
        text-align: right;
        background-color: #fcfbfa;
        padding: 15px 20px;
        border-radius: 10px;
        border: 1px solid rgba(223, 177, 58, 0.3);
        width: 100%;
    }
    
    .step-content-top, .step-content-bottom {
        height: auto;
        width: auto;
    }
    
    .step-number {
        font-size: 20px;
        order: 2;
    }
    
    .step-title {
        order: 1;
        text-align: right;
    }
    
    /* Force proper ordering for all steps on mobile */
    .step-up .step-content-top, .step-down .step-content-bottom {
        order: 2;
    }
    .step-up .step-content-bottom, .step-down .step-content-top {
        order: 1;
    }

    .testimonial-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        flex-direction: column-reverse;
        gap: 18px;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-col {
        width: 100%;
        align-items: center !important;
    }
    
    .footer-col:nth-child(1),
    .footer-col:nth-child(2),
    .footer-col:nth-child(3),
    .footer-col:nth-child(4) {
        text-align: center;
    }
}

/* ========================================= */
/*       PREMIUM FEATURES START              */
/* ========================================= */

/* 1. Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c1821; /* Primary color */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader-logo {
    width: 150px;
    animation: pulseLogo 1.5s infinite ease-in-out alternate;
}
@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* 2. Scroll Progress Bar */
#progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to left, #dfb13a, #f9e29c);
    z-index: 9998;
    box-shadow: 0 0 10px rgba(223, 177, 58, 0.5);
    transform-origin: right center; /* RTL support */
}

/* 3. Custom GSAP Cursor */
body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}
#cursor-dot,
#cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
}
#cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #dfb13a;
}
#cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(223, 177, 58, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
#cursor-outline.hover-state {
    width: 60px;
    height: 60px;
    background-color: rgba(223, 177, 58, 0.1);
    border-color: #dfb13a;
}

/* 4. Button Shiny Sweep Micro-interaction */
.gold-btn {
    overflow: hidden;
    position: relative;
}
.gold-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
    z-index: 1;
}
.gold-btn:hover::after {
    animation: shinySweep 0.7s ease-in-out;
}
@keyframes shinySweep {
    0% { left: -100%; }
    100% { left: 200%; }
}
.gold-btn i {
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}
.gold-btn:hover i {
    transform: translateX(-5px); /* Move left because RTL */
}

/* 5. Custom Gold Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background-color: #0c1821;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #dfb13a, #e6c56b);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #dfb13a;
}

/* 6. Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Left side for RTL sites usually keeps it out of the way of scrollbar */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9995;
    text-decoration: none;
    transition: all 0.3s ease;
}
.floating-whatsapp::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.6);
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}
.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #128C7E;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}
@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Helper for Word Splitting Text Reveal */
.word-reveal-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-left: 0.2em; /* Spacing between words */
}
.word-reveal-inner {
    display: inline-block;
}

/* Helper for Magnetic Button */
.magnetic-btn {
    display: inline-block;
    transition: transform 0.1s ease-out; /* Smooth snapping */
}

/* Helper for 3D Tilt */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
.tilt-card > * {
    transform: translateZ(30px); /* Push content out slightly for 3D effect */
}

/* ========================================= */
/*       PREMIUM FEATURES END                */
/* ========================================= */

/* Fix FontAwesome font-display: swap for Lighthouse */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-regular-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2') format('woff2');
}

