/* Font Definitions */
@font-face {
    font-family: 'Neo Sans Arabic';
    src: url('../../assets/fonts/alfont_com_AlFont_com_Neo-Sans-W23-l-1.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Arabic';
    src: url('../../assets/fonts/alfont_com_AlFont_com_Neo-Sans-W23.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Arabic';
    src: url('../../assets/fonts/alfont_com_AlFont_com_Neo-Sans-W23-m-1.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Arabic';
    src: url('../../assets/fonts/alfont_com_AlFont_com_Neo-Sans-W23-u-1.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary-color: #0056b3;
    --secondary-color: #002d62;
    --accent-color: #00bcd4;
    --text-color: #ffffff;
    --gradient-body: linear-gradient(180deg, #000c24 0%, #001f54 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Neo Sans Arabic', sans-serif;
    direction: rtl;
    background: transparent;
    /* Changed from var(--gradient-body) to see particles */
    color: var(--text-color);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    background: var(--gradient-body);
}

/* Header - Transparent */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    backdrop-filter: none;
    z-index: 9999 !important;
    /* Extremely high to stay above pinned sections */
}

.logo img {
    height: 90px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    perspective: 1000px;
}

nav li {
    position: relative;
    padding: 0.5rem 1rem;
}

nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* 3D Lift & Glow Effect */
nav a:hover,
nav a.active {
    opacity: 1;
    color: var(--accent-color);
    transform: translateZ(30px) translateY(-3px);
    text-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
}

/* --- Jumper Orb styles --- */
nav {
    position: relative;
}

.nav-jumper-orb {
    position: absolute;
    top: -15px;
    /* Positioned above the text */
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy movement */
    opacity: 0;
    z-index: 10;
}

nav a::after {
    display: none;
    /* Disabling old underline to focus on the orb */
}

/* Enhancing nav a for clear jump targets */
nav a {
    position: relative;
    padding: 0 5px;
}

/* Glass Hover Background */
nav li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: 0.3s;
    z-index: 0;
}

nav li:hover::before {
    opacity: 1;
    transform: scale(1);
}

.cta-btn {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.5);
    filter: brightness(1.1);
}

/* Page Hero */
.page-hero {
    height: 100vh;
    /* Full screen hero */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Hero Content */
.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease-out;
}

.hero-btn {
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    animation: fadeInUp 1.4s ease-out;
    display: inline-block;
}

.hero-btn:hover {
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

/* Flex Container for Section Slides */
.container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 90%;
    margin: 0 auto;
}

.container-flex.reverse {
    flex-direction: row-reverse;
}

.text-col {
    flex: 1;
    text-align: right;
}

.text-col h2 {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.text-col p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.img-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-col img {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 0 30px rgba(0, 188, 212, 0.2));
    transition: transform 0.1s ease-out;
}

/* Cards & Grids */
.features-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 10%;
    width: 100%;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    /* Dark Glass */
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
    color: var(--accent-color);
    transform: translateZ(20px);
}

.feature-card p {
    transform: translateZ(10px);
    color: #e0e0e0;
    line-height: 1.6;
}

.feature-icon-img {
    height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
    transform: translateZ(30px);
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(0, 188, 212, 0.3));
}

.feature-icon i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* SECTION TITLE (Common) */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--accent-color);
}

/* FLIP CARDS (For About Page) */
.flip-card-container {
    background-color: transparent;
    height: 300px;
    perspective: 1000px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card-container:hover .flip-card {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.flip-card-front {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.flip-card-front i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.flip-card-back {
    background: var(--accent-color);
    color: white;
    transform: rotateY(180deg);
}

/* Animations */
@keyframes float-code {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
}

.code-symbol {
    position: absolute;
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: bold;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-right {
    animation: fadeInRight 1s ease-out forwards;
}

.reveal-left {
    animation: fadeInLeft 1s ease-out forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Impact Stories (قصص أثر) Horizontal Section --- */
.impact-stories-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
    /* Above everything else when active */
}

.impact-track-container {
    width: 100%;
    padding: 0 5%;
    display: flex;
    align-items: center;
}

.impact-cards-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
    padding: 50px 0;
    will-change: transform;
}

.impact-card {
    flex: 0 0 400px;
    /* Fixed width, no shrinking */
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-color);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 188, 212, 0.1);
}

.impact-card h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.problem-text {
    color: #ff5252;
    /* Stress the suffering */
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
}

.solution-text {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6;
}

.impact-action-btn {
    margin-top: auto;
    background: var(--accent-color);
    color: #000;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    transform: translateY(100px);
    /* Hidden below */
    opacity: 0;
    transition: all 0.4s ease;
}

.impact-card:hover .impact-action-btn {
    transform: translateY(0);
    opacity: 1;
}

.impact-card .icon-seal {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -10px;
    right: -10px;
    transform: rotate(-15deg);
}

/* Integration Section Styles */
.integration-section {
    position: relative;
    height: 100vh;
    background: transparent;
    overflow: hidden;
    z-index: 2;
    /* Base level */
}

.integration-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.chaos-title {
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
    margin-bottom: 2rem;
    z-index: 10;
}

.icons-scatter-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.integration-icon-wrapper {
    position: absolute;
    width: 180px;
    height: 140px;
    perspective: 1000px;
    z-index: 5;
    /* Removed transition to prevent conflict with GSAP */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-box {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    transform: rotateX(10deg) rotateY(-10deg);
    /* Removed transition for GSAP performance */
}

.icon-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.5));
}

.icon-box span {
    font-size: 1.1rem;
    font-weight: 500;
}

.integration-status {
    position: absolute;
    bottom: 10%;
    width: 100%;
    max-width: 400px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    z-index: 10;
}

.loading-text {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fff;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.final-platform-card {
    position: relative;
    width: 90%;
    max-width: 380px;
    /* Even smaller for elegance */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 2.5rem 2rem;
    text-align: center;
    opacity: 0;
    z-index: 20;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 188, 212, 0.1);
}

.final-logo {
    height: 80px;
    /* Reduced from 120px */
    margin-bottom: 1.5rem;
}

.final-platform-card h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.final-platform-card p {
    font-size: 1.4rem;
    color: #ccc;
    line-height: 1.6;
}

/* 3D Floating Animation for Objects */
@keyframes float-slow {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.floating-3d-obj {
    animation: float-slow 6s ease-in-out infinite;
    transition: transform 0.3s;
    /* Smooth overrides for mouse parallax */
}

/* Footer */
footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
}

/* Forms */
input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-family: inherit;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

select {
    background: rgba(0, 12, 36, 0.9);
    /* Dark background for options */
    color: white;
}

select option {
    background-color: #000c24;
    /* Deep dark blue matching theme */
    color: white;
    padding: 10px;
}

form {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {

    .container-flex,
    .container-flex.reverse {
        flex-direction: column-reverse;
        text-align: center;
    }

    .text-col {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    header {
        padding: 1rem;
    }
}

/* 3D Flip Cards Section (Exact Pattern from 3d-animation-page) */
.flip-cards-section {
    width: 100%;
    overflow: hidden;
    perspective: 1000px;
    position: relative;
    z-index: 3;
    /* Above integration */
    background: transparent;
    /* Changed to transparent to show global particles */
}

.cards-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 2rem 5%;
    width: 100%;
}

.card-3d-wrapper {
    width: 100%;
    height: 450px;
    position: relative;
    perspective: 1000px;
}

.content-inner {
    width: 100%;
    height: 100%;
    color: #fff;
    position: relative;
    transform-style: preserve-3d;
    transition: 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.content-inner .content-front,
.content-inner .content-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-front {
    background: #1a1a1a;
    background-color: #1a1a1a;
    /* Solid color cover */
    z-index: 2;
    transform: rotateY(0deg);
}

.content-back {
    background-color: #1a1a1a;
    /* Solid color cover */
    background-size: cover;
    background-position: center;
    transform: rotateY(180deg);
    z-index: 1;
}

/* THE MAGIC: rotateY on hover */
.content-inner:hover {
    transform: rotateY(-180deg);
}

.cf-inner {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
}

.cf-inner .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    border-radius: 20px;
}

.cf-inner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    border-radius: 20px;
}

/* THE DEPTH EFFECT: Inner element moves on Z axis */
.cf-inner .inner {
    transform: translateZ(95px) scale(0.9);
    /* Deep 3D offset */
    transform-style: preserve-3d;
    backface-visibility: hidden;
    text-align: center;
    position: relative;
    z-index: 3;
    width: 100%;
    transition: 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cf-inner .inner h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent-color);
    transform: translateZ(50px);
    /* Sub-layer depth */
}

.content-front ul li {
    font-size: 1.1rem;
    margin: 10px 0;
    transform: translateZ(30px);
}

.dec-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transform: translateZ(60px);
}

.cf-inner:before,
.cf-inner:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border-color: var(--accent-color);
    z-index: 10;
    opacity: 0.5;
    transform: translateZ(40px);
    transition: 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cf-inner:before {
    top: 20px;
    left: 20px;
    border-left: 2px solid;
    border-top: 2px solid;
}

.cf-inner:after {
    bottom: 20px;
    right: 20px;
    border-right: 2px solid;
    border-bottom: 2px solid;
}

.serv-price-wrap {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1rem;
    transform: translateZ(20px);
}

.serv-price-wrap span {
    margin-left: 10px;
    color: var(--accent-color);
}

/* --- Global Floating Social Hub --- */
.social-floating-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.social-icon-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-icon-btn:hover {
    background: var(--accent-color);
    transform: scale(1.15) translateX(-5px);
    box-shadow: 0 0 20px var(--accent-color);
    color: #000;
}

/* Specific Social Colors on Hover */
.social-icon-btn.linkedin:hover {
    background: #0077B5;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.6);
}

.social-icon-btn.twitter:hover {
    background: #000000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.social-icon-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.6);
}

.social-icon-btn.snapchat:hover {
    background: #FFFC00;
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 20px rgba(255, 252, 0, 0.6);
}

/* Dedicated Pulsing WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.7;
    animation: pulse-out 2s infinite;
    z-index: -1;
}

@keyframes pulse-out {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .social-floating-bar {
        right: 10px;
    }

    .social-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* --- Partners 3D Wave Track --- */
.partners-liquid-section {
    perspective: 2000px;
    position: relative;
    overflow: hidden;
}

.scene-3d {
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.wave-track {
    display: flex;
    white-space: nowrap;
    animation: track-infinite-scroll 45s linear infinite;
    /* Adjusted speed for cinematic feel */
    padding: 120px 0;
    /* Increased to allow larger logos space to breathe */
    width: max-content;
}

@keyframes track-infinite-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }

    /* Perfect 50% for 2 sets infinite loop */
}

.partner-floating-card {
    flex: 0 0 300px;
    /* Reduced from 350px */
    height: 160px;
    /* Reduced from 200px */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 40px;
    /* Adjusted spacing */
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.partner-floating-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    transform: scale(1.08) translateZ(60px);
    box-shadow: 0 45px 90px rgba(0, 188, 212, 0.4);
}

.partner-floating-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.4);
    /* Balanced size - reduced from 2.2 */
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-inner-anim {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    animation: floating-wave 5s ease-in-out infinite alternate;
    overflow: visible;
    /* Allow large logos to pop slightly */
}

@keyframes floating-wave {
    0% {
        transform: translateY(-15px) rotateX(8deg);
    }

    100% {
        transform: translateY(15px) rotateX(-8deg);
    }
}

.bg-blur-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}


/* ========================================================================= */
/* REGISTRATION PAGE SPECIFIC STYLES */
/* ========================================================================= */

.registration-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align into top */
    align-items: center;
    position: relative;
    padding: 0 20px 50px;
    /* Reduced top padding to 0 to move everything up */
}

.registration-card {
    background: rgba(255, 255, 255, 0.05);
    /* Same glass effect */
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 188, 212, 0.1);
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
    margin-top: 0;
}

.registration-card h2 {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    text-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

.registration-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.registration-form label {
    display: block;
    margin-bottom: 0.8rem;
    color: #e0e0e0;
    font-weight: 500;
    font-size: 1.1rem;
}

.registration-form .form-ctrl {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.registration-form .form-ctrl:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.25);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.registration-form textarea.form-ctrl {
    resize: vertical;
    min-height: 120px;
}

select {
    background: rgba(0, 12, 36, 0.9);
    /* Dark background for options */
    color: white;
}

select option {
    background-color: #000c24;
    /* Deep dark blue matching theme */
    color: white;
    padding: 10px;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.submit-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.5);
    filter: brightness(1.2);
}

.discount-badge {
    text-align: center;
    margin-top: 2rem;
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
    background: rgba(255, 87, 34, 0.9);
    /* Orange/Red for discount attention */
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    width: 100%;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
    animation: pulse-discount 2s infinite;
}

@keyframes pulse-discount {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}