:root {
    --primary: #66FCF1;
    --primary-dark: #45A29E;
    --bg-dark: #0B0C10;
    --bg-card: #1F2833;
    --text-white: #FFFFFF;
    --text-gray: #C5C6C7;
    --accent-glow: rgba(102, 252, 241, 0.15);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans Arabic', 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Base Styles */
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 252, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Header */
/* Top Banner */
.top-banner {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    text-align: center;
    padding: 0.8rem 0;
    font-weight: 700;
    font-size: 0.9rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1100;
    /* Stays above everything */
}

/* Header - Capix Style */
header {
    position: fixed;
    top: 20px;
    /* Reset to 20px since banner is gone */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1050;
    /* Slightly below banner but above content */
    padding: 0;
    background: transparent;
    transition: top 0.3s ease;
}

header.scrolled {
    top: 10px;
    /* Move up slightly when scrolling */
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    /* Capsule shape */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
}

header.scrolled nav {
    background: rgba(11, 12, 16, 0.9);
    padding: 0.6rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-icon i {
    color: var(--primary);
    font-size: 1.5rem;
}

.logo-text span {
    color: var(--primary);
}

.nav-links li a {
    font-size: 0.85rem;
    /* Reduced slightly */
    font-weight: 500;
    color: var(--text-white);
    opacity: 0.8;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--primary);
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    /* Reduced from 2rem to prevent overlap */
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-white);
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: 0.1s;
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.badge {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 span {
    background: linear-gradient(135deg, var(--primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat .label {
    color: var(--primary);
    font-size: 0.9rem;
}

.hero-visual {
    position: absolute;
    left: 0;
    height: 100%;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary);
}

.c1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.c2 {
    top: 45%;
    right: 40%;
    animation-delay: 2s;
}

.c3 {
    bottom: 20%;
    right: 20%;
    animation-delay: 4s;
}

.glow-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 252, 241, 0.2) 0%, transparent 70%);
    filter: blur(50px);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Services */
.services {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0f1218);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-gray);
}

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

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-platforms {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    justify-content: center;
}

.app-platforms span {
    font-size: 0.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-platforms i {
    font-size: 1.2rem;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(102, 252, 241, 0.05);
}

.service-card.active {
    background: rgba(102, 252, 241, 0.03);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(102, 252, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    content: "•";
    color: var(--primary);
}

/* Vision */
.vision {
    padding: 8rem 0;
}

.vision-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.vision-text {
    flex: 1;
}

.vision-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.vision-text h2 span {
    color: var(--primary);
}

.vision-items {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.v-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.v-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.v-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.v-item p {
    color: var(--text-gray);
}

.vision-image {
    flex: 1;
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    position: relative;
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(31, 40, 51, 0.8), rgba(11, 12, 16, 0.9));
    border: 1px solid var(--glass-border);
    padding: 5rem;
    border-radius: 40px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    color: var(--text-gray);
    margin-bottom: 3rem;
}

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

.form-group input,
.form-group select {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.footer-info p {
    color: var(--text-gray);
    margin: 1.5rem 0;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.socials a:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray);
    font-size: 0.9rem;
}


/* Cybersecurity Team Section */
.security-team {
    padding: 10rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(102, 252, 241, 0.05) 0%, transparent 50%);
}

.security-flex {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.security-image {
    flex: 1;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.security-image img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

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

.security-overlay {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(11, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(102, 252, 241, 0.2);
}

.security-text {
    flex: 1;
}

.security-text h2 span {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(102, 252, 241, 0.3);
}

.security-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.security-features i {
    color: var(--primary);
    font-size: 1.4rem;
}

.team-trust {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.trust-dots {
    display: flex;
    gap: 5px;
}

.trust-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.trust-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.trust-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

@media (max-width: 992px) {
    .security-flex {
        flex-direction: column-reverse;
        gap: 4rem;
        text-align: center;
    }

    .security-features li {
        justify-content: center;
    }

    .team-trust {
        justify-content: center;
    }
}

/* Partners Ticker */
.partners-ticker {
    padding: 3rem 0;
    background: rgba(102, 252, 241, 0.03);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.ticker-wrapper {
    display: flex;
    width: 100%;
}

.ticker-content {
    display: flex;
    gap: 4rem;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    height: 100px;
    /* Increased from 60px */
    opacity: 0.9;
    transition: 0.3s;
    filter: brightness(0) invert(1);
    /* Makes SVG logos white for dark background */
    margin: 0 1rem;
    /* Added margin for better spacing */
}

.ticker-item img {
    height: 100%;
    width: auto;
    max-width: 250px;
    /* Allow wider logos to grow */
    object-fit: contain;
}

.partners-ticker:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }

    /* RTL scroll adjustment */
}

/* Developer Section */
.developer {
    padding: 8rem 0;
    background: linear-gradient(to top, var(--bg-dark), #0f1218);
}

.dev-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 5rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.08;
}

.card-bg-icons i {
    position: absolute;
    color: var(--primary);
}

.card-bg-icons i:nth-child(1) {
    top: -30px;
    left: 50%;
    font-size: 12rem;
    transform: translateX(-50%) rotate(0deg);
    opacity: 0.2;
    /* More prominent */
}

.card-bg-icons i:nth-child(2) {
    bottom: -10%;
    right: 5%;
    font-size: 10rem;
    transform: rotate(15deg);
}

.card-bg-icons i:nth-child(3) {
    top: 50%;
    left: 45%;
    font-size: 6rem;
    transform: translateY(-50%) rotate(10deg);
    opacity: 0.5;
}

.card-bg-icons i:nth-child(4) {
    top: -5%;
    right: 30%;
    font-size: 5rem;
    transform: rotate(20deg);
}

.card-bg-icons i:nth-child(5) {
    bottom: 10%;
    left: 10%;
    font-size: 7rem;
    transform: rotate(-10deg);
}


.dev-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 252, 241, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.dev-image {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.2);
    z-index: 1;
}

.dev-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dev-info {
    z-index: 1;
}

.dev-info h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.dev-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.dev-bio {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

.dev-skills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.dev-skills span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
}

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

.dev-social a {
    font-size: 1.5rem;
    color: var(--text-gray);
    transition: 0.3s;
}

.dev-social a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Offer Section Styles */
.offer-section {
    padding: 8rem 0;
}

.offer-card {
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.1), rgba(11, 12, 16, 0.8));
    border: 1px solid var(--primary);
    border-radius: 40px;
    padding: 5rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(102, 252, 241, 0.1);
}

.offer-content {
    flex: 1.5;
}

.discount-badge {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 2rem;
    animation: pulse-border 2s infinite;
}

.offer-content h2 span {
    color: var(--primary);
}

.offer-content p {
    color: var(--text-gray);
    margin: 2rem 0;
    font-size: 1.2rem;
}

.offer-timer {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.timer-box {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    min-width: 100px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.timer-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.offer-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.percent-circle {
    width: 250px;
    height: 250px;
    border: 10px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 40px rgba(102, 252, 241, 0.4);
}

.percent-circle .num {
    font-size: 7rem;
    font-weight: 900;
}

.percent-circle .symbol {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 252, 241, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(102, 252, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 252, 241, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        /* Hide for now, can be simplified for this fix */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 12, 16, 0.95);
        flex-direction: column;
        padding: 2rem;
        border-radius: 20px;
        margin-top: 10px;
        border: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-btn {
        display: none;
        /* Hide desktop button on mobile, usually move to menu */
    }

    h1 {
        font-size: 3rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-btns,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .vision-flex {
        flex-direction: column;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dev-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .dev-image {
        width: 200px;
        height: 200px;
    }

    .dev-skills {
        justify-content: center;
    }

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

    .offer-card {
        padding: 3rem 2rem;
        flex-direction: column;
        text-align: center;
    }

    .offer-timer {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .timer-box {
        padding: 1rem;
        min-width: 80px;
    }

    .percent-circle {
        width: 180px;
        height: 180px;
    }

    .percent-circle .num {
        font-size: 5rem;
    }
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0b 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 252, 241, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.projects .container {
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(102, 252, 241, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 30px;
}

.project-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(102, 252, 241, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid rgba(102, 252, 241, 0.2);
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.project-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-features span {
    font-size: 0.8rem;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Servers Section ===== */
.servers-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #0f1218, var(--bg-dark));
}

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

.server-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: 0.4s;
}

.server-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(102, 252, 241, 0.04);
}

.server-card.featured {
    border-color: var(--primary);
    background: rgba(102, 252, 241, 0.05);
    box-shadow: 0 0 40px rgba(102, 252, 241, 0.1);
    transform: scale(1.03);
}

.server-badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.server-icon {
    width: 55px;
    height: 55px;
    background: rgba(102, 252, 241, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.server-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

.server-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.server-specs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.server-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.server-specs li i {
    color: var(--primary);
    width: 18px;
    font-size: 0.9rem;
}

.server-btn {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

.servers-trust {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.trust-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .servers-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 3rem auto 0;
    }
    .server-card.featured {
        transform: scale(1);
    }
    .servers-trust {
        gap: 1.5rem;
    }
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0f1218);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.pricing-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: 0.4s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: rgba(102, 252, 241, 0.04);
    box-shadow: 0 0 40px rgba(102, 252, 241, 0.12);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0.5rem 0;
}

.riyal-symbol {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(87%) sepia(44%) saturate(500%) hue-rotate(130deg) brightness(105%);
    margin-bottom: 4px;
    flex-shrink: 0;
}

.pricing-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
}

.pricing-price .period {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.custom-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.pricing-features li i.fa-check {
    color: var(--primary);
}

.pricing-features li i.fa-times {
    color: rgba(255,255,255,0.2);
}

.pricing-features li.disabled {
    opacity: 0.4;
}

.pricing-btn {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 3rem auto 0;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #0f1218, var(--bg-dark));
}

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

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: rgba(102, 252, 241, 0.04);
}

.testimonial-card.featured-testimonial {
    border-color: var(--primary);
    background: rgba(102, 252, 241, 0.04);
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-stars i {
    color: #FFD700;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.2rem;
}

.author-avatar {
    width: 46px;
    height: 46px;
    background: rgba(102, 252, 241, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Contact Form Fix ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.full-width {
    width: 100%;
}

.form-group textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    outline: none;
    resize: vertical;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 0.95rem;
}

.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-group input::placeholder,
.form-group select option:first-child {
    color: rgba(255,255,255,0.3);
}

.contact-form .btn-primary {
    align-self: center;
    padding: 1rem 3rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 5rem;
    left: 2rem;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: rgba(11,12,16,0.95);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    border: 1px solid var(--glass-border);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: whatsapp-pulse 2.5s infinite;
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 46px;
    height: 46px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
    pointer-events: none;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: translateY(-3px);
}