/* 
   AFK Landing Page Styles
   Using color scheme: #663399 (purple), #cc3399 (pink), #ff6633 (orange), and black background
*/

/* Global Styles */
:root {
    --primary: #663399;
    --secondary: #cc3399;
    --accent: #ff6633;
    --dark: #000000;
    --light: #ffffff;
    --gradient: linear-gradient(to right, #663399, #cc3399, #ff6633);
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background-color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Gradient Text Effect */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;

    display: inline-block;
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.section-divider {
    height: 4px;
    width: 70px;
    background: var(--gradient);
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.section-divider::before {
    content: '';
    position: absolute;
    height: 4px;
    width: 0;
    background: #fff;
    top: 0;
    left: 0;
    border-radius: 2px;
    animation: divider-pulse 2s infinite;
}

@keyframes divider-pulse {
    0% { width: 0; opacity: 1; }
    50% { width: 100%; opacity: 0.5; }
    100% { width: 0; opacity: 1; }
}

/* Background Patterns */
.bg-pattern {
    background-color: rgba(10, 10, 10, 0.9);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23663399' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 5v1H5z'/%3E%3Cpath d='M6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

.bg-pattern-dark {
    background-color: rgba(5, 5, 5, 0.95);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cc3399' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 5v1H5z'/%3E%3Cpath d='M6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

/* Hero Section */
.hero-section {
    min-height: 120vh; /* Increased height */
    position: relative;
    background-color: #000;
    overflow: hidden;
    padding-top: 120px; /* Increased top padding */
    padding-bottom: 220px; /* Increased bottom padding to accommodate feature cards */
}

.luxury-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 51, 153, 0.4) 0%, rgba(0, 0, 0, 0.95) 50%);
    z-index: 1;
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23663399' fill-opacity='0.1'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 40px; /* Added top padding to container */
    height: auto; /* Allow height to adjust based on content */
}

/* Hero Content */
.hero-content {
    padding: 30px 0; /* Added vertical padding */
}

/* Logo Emblem */
.logo-emblem {
    width: 100px;
    height: 100px;
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-emblem::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary);
    transform: rotate(45deg);
    animation: emblem-rotate 10s linear infinite;
}

.logo-emblem::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border: 2px solid var(--accent);
    transform: rotate(0deg);
    animation: emblem-rotate-reverse 10s linear infinite;
}

.emblem-inner {
    font-size: 40px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 3;
}

@keyframes emblem-rotate {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

@keyframes emblem-rotate-reverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* 3D Rotating Cube */
.hero-3d-element {
    position: relative;
    width: 100%;
    height: 450px; /* Increased height */
    perspective: 800px;
    margin-top: 30px; /* Added top margin */
}

.rotating-cube {
    width: 320px; /* Increased size */
    height: 320px; /* Increased size */
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg);
    animation: cube-rotate 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(102, 51, 153, 0.2);
    border: 2px solid var(--secondary);
    box-shadow: 0 0 20px rgba(204, 51, 153, 0.4), inset 0 0 20px rgba(204, 51, 153, 0.2);
    backdrop-filter: blur(5px);
}

.cube-face.front { transform: translateZ(150px); background: linear-gradient(45deg, rgba(102, 51, 153, 0.2), rgba(204, 51, 153, 0.2)); }
.cube-face.back { transform: rotateY(180deg) translateZ(150px); background: linear-gradient(45deg, rgba(204, 51, 153, 0.2), rgba(255, 102, 51, 0.2)); }
.cube-face.right { transform: rotateY(90deg) translateZ(150px); background: linear-gradient(45deg, rgba(255, 102, 51, 0.2), rgba(102, 51, 153, 0.2)); }
.cube-face.left { transform: rotateY(-90deg) translateZ(150px); background: linear-gradient(45deg, rgba(102, 51, 153, 0.2), rgba(255, 102, 51, 0.2)); }
.cube-face.top { transform: rotateX(90deg) translateZ(150px); background: linear-gradient(45deg, rgba(204, 51, 153, 0.2), rgba(102, 51, 153, 0.2)); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(150px); background: linear-gradient(45deg, rgba(102, 51, 153, 0.2), rgba(204, 51, 153, 0.2)); }

.cube-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.8;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
}

@keyframes cube-rotate {
    0% { transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg); }
}

/* Text Animation */
.text-reveal {
    display: block;
    position: relative;
    overflow: hidden;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes reveal {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.luxury-text {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.text-typing {
    border-right: 3px solid var(--accent);
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 3.5s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
    animation-delay: 1s;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent); }
}

/* Hero Buttons */
.luxury-btn {
    background: var(--gradient);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
    padding: 15px 40px;
    box-shadow: 0 5px 15px rgba(102, 51, 153, 0.4);
}

.luxury-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.luxury-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 51, 153, 0.6);
}

.luxury-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Feature Cards */
.feature-cards-container {
    position: relative;
    margin-top: -180px; /* Increased negative margin to position cards higher */
    z-index: 2;
    padding-bottom: 60px; /* Added bottom padding */
}

.luxury-card {
    position: relative;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    padding: 40px 30px 40px 120px; /* Increased padding */
    height: 100%;
    min-height: 220px; /* Added minimum height */
    transition: all 0.5s ease;
    border: 1px solid rgba(102, 51, 153, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1;
    margin-bottom: 20px; /* Added bottom margin */
}

.luxury-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 51, 153, 0.4);
    border-color: var(--secondary);
}

.luxury-card-icon {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--light);
    box-shadow: 0 5px 15px rgba(102, 51, 153, 0.5);
    transition: all 0.5s ease;
}

.luxury-card:hover .luxury-card-icon {
    transform: rotate(360deg);
}

.luxury-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.luxury-card-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.luxury-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--gradient);
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
    transition: all 0.5s ease;
}

.luxury-card:hover .luxury-card-bg {
    opacity: 0.3;
    width: 200px;
    height: 200px;
}

/* Creative Divider */
.creative-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Increased height */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    margin-bottom: -2px; /* Ensures no gap between sections */
}

.diamond-divider {
    display: flex;
    justify-content: center;
    position: absolute;
    top: -30px; /* Adjusted position upward */
    left: 0;
    width: 100%;
}

.diamond-divider span {
    display: inline-block;
    margin: 0 15px;
    width: 40px;
    height: 40px;
    background: #000;
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent)) 1;
    transform: rotate(45deg);
    position: relative;
}

.diamond-divider span::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient);
    opacity: 0.6;
    animation: diamond-pulse 3s infinite alternate;
}

.glow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    box-shadow: 0 0 20px rgba(204, 51, 153, 0.8), 0 0 40px rgba(204, 51, 153, 0.6);
}

@keyframes diamond-pulse {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

/* Particle Effects */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0); }
    25% { transform: translateY(-30px) translateX(15px) rotate(90deg); }
    50% { transform: translateY(-10px) translateX(30px) rotate(180deg); }
    75% { transform: translateY(-25px) translateX(-15px) rotate(270deg); }
    100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

/* Character Animation for Luxury Text */
.char {
    display: inline-block;
    animation: char-float 3s ease-in-out infinite;
}

@keyframes char-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse Button */
.pulse-btn {
    background: var(--gradient);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.pulse-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(255, 102, 51, 0.3);
}

.pulse-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    60% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

/* About Section */
#about {
    position: relative;
    overflow: hidden;
}

.shine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(102, 51, 153, 0.2), transparent 70%);
    pointer-events: none;
}

.luxury-title-container {
    position: relative;
    margin-bottom: 50px;
}

.shine-text {
    position: relative;
    overflow: hidden;
}

.shine-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.about-img-container {
    position: relative;
    margin-bottom: 40px;
}

.about-img {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.img-border {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 4px solid var(--accent);
    z-index: -1;
    animation: border-pulse 3s infinite alternate;
    border-radius: 15px;
}

.img-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 51, 153, 0.2), rgba(204, 51, 153, 0.2));
    z-index: 2;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.corner-accent {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 3;
}

.corner-accent.top-left {
    top: 15px;
    left: 15px;
    border-top: 3px solid var(--primary);
    border-left: 3px solid var(--primary);
}

.corner-accent.top-right {
    top: 15px;
    right: 15px;
    border-top: 3px solid var(--secondary);
    border-right: 3px solid var(--secondary);
}

.corner-accent.bottom-left {
    bottom: 15px;
    left: 15px;
    border-bottom: 3px solid var(--secondary);
    border-left: 3px solid var(--secondary);
}

.corner-accent.bottom-right {
    bottom: 15px;
    right: 15px;
    border-bottom: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
}

.floating-badge {
    position: absolute;
    bottom: -25px;
    right: 30px;
    background: var(--gradient);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(102, 51, 153, 0.5);
    z-index: 10;
    animation: float-badge 4s ease-in-out infinite;
}

.badge-inner {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.badge-inner span {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--light);
    line-height: 1;
    margin-bottom: 5px;
}

.badge-inner small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes border-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.about-content {
    padding: 30px;
}

.about-heading {
    position: relative;
    margin-bottom: 30px;
}

.about-heading h3 {
    font-size: 2.4rem;
    font-weight: 700;
}

.fade-in-text {
    position: relative;
}

.fade-in-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000, transparent);
    transform: translateX(0);
    animation: text-reveal 1.5s forwards;
    animation-delay: 0.5s;
}

@keyframes text-reveal {
    0% { transform: translateX(0); }
    100% { transform: translateX(101%); }
}

.animated-paragraph {
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: paragraph-reveal 1s forwards;
}

.animated-paragraph:nth-child(2) {
    animation-delay: 1s;
}

.animated-paragraph:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes paragraph-reveal {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.values-container {
    margin-top: 40px;
}

.value-card {
    position: relative;
    background: rgba(15, 15, 15, 0.8);
    border-radius: 10px;
    padding: 20px 20px 20px 75px;
    border: 1px solid rgba(102, 51, 153, 0.2);
    height: 100%;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 51, 153, 0.3);
    border-color: var(--secondary);
}

.value-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: translateY(-50%) rotateY(180deg);
}

.value-content h4 {
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.value-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.value-bg {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 100px;
    height: 100px;
    background: var(--gradient);
    filter: blur(40px);
    opacity: 0.1;
    z-index: -1;
    transition: all 0.4s ease;
}

.value-card:hover .value-bg {
    opacity: 0.25;
    width: 120px;
    height: 120px;
}

/* Companies Section */
#companies {
    position: relative;
    overflow: hidden;
}

.companies-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 0;
}

.companies-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(102, 51, 153, 0.15), transparent 50%),
                radial-gradient(circle at top right, rgba(204, 51, 153, 0.15), transparent 50%);
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 5px;
    opacity: 0.1;
    filter: blur(5px);
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: var(--primary);
    top: 15%;
    left: 10%;
    animation: floatingShape 20s infinite alternate ease-in-out;
    transform: rotate(45deg);
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: var(--secondary);
    top: 20%;
    right: 10%;
    animation: floatingShape 15s infinite alternate-reverse ease-in-out;
    transform: rotate(20deg);
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--accent);
    bottom: 20%;
    left: 20%;
    animation: floatingShape 18s infinite alternate ease-in-out;
    transform: rotate(60deg);
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    bottom: 15%;
    right: 20%;
    animation: floatingShape 22s infinite alternate-reverse ease-in-out;
    transform: rotate(30deg);
}

@keyframes floatingShape {
    0% { transform: translate(0, 0) rotate(45deg); }
    25% { transform: translate(-20px, 20px) rotate(90deg); }
    50% { transform: translate(20px, 40px) rotate(135deg); }
    75% { transform: translate(40px, -20px) rotate(180deg); }
    100% { transform: translate(-20px, -40px) rotate(225deg); }
}

.section-title-wrapper {
    position: relative;
    margin-bottom: 50px;
}

.title-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.title-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--light);
    position: relative;
    box-shadow: 0 10px 20px rgba(102, 51, 153, 0.3);
}

.title-icon::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: spin 15s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.shimmer-text {
    position: relative;
    overflow: hidden;
}

.shimmer-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Luxury Company Card Styles */
.luxury-company-card {
    position: relative;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.luxury-company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(102, 51, 153, 0.4);
}

.card-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 2;
    transition: all 0.3s ease;
}

.luxury-company-card[data-color="primary"] .card-accent-line {
    background: var(--primary);
}

.luxury-company-card[data-color="secondary"] .card-accent-line {
    background: var(--secondary);
}

.luxury-company-card[data-color="accent"] .card-accent-line {
    background: var(--accent);
}

.company-card-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 3;
}

.company-logo-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.company-logo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 8px;
    z-index: 1;
    overflow: hidden;
}

.company-logo-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(102, 51, 153, 0.1),
        rgba(204, 51, 153, 0.1),
        rgba(255, 102, 51, 0.1),
        rgba(102, 51, 153, 0.1)
    );
    animation: rotate 10s linear infinite;
}

.company-logo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.company-logo img {
    max-height: 90px;
    max-width: 180px;
    transition: all 0.5s ease;
    filter: brightness(0.9);
}

.luxury-company-card:hover .company-logo img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.company-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.luxury-company-card[data-color="primary"]:hover .company-name {
    color: var(--primary);
}

.luxury-company-card[data-color="secondary"]:hover .company-name {
    color: var(--secondary);
}

.luxury-company-card[data-color="accent"]:hover .company-name {
    color: var(--accent);
}

.text-muted {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 400;
}

.company-divider {
    width: 50px;
    height: 3px;
    margin: 15px 0;
    background: var(--gradient);
    position: relative;
    transition: all 0.3s ease;
}

.luxury-company-card:hover .company-divider {
    width: 80px;
}

.company-details p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.company-link {
    margin-top: auto;
    align-self: flex-start;
    color: #fff;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.company-link i {
    margin-left: 8px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.luxury-company-card[data-color="primary"] .company-link::after {
    background: var(--primary);
}

.luxury-company-card[data-color="secondary"] .company-link::after {
    background: var(--secondary);
}

.luxury-company-card[data-color="accent"] .company-link::after {
    background: var(--accent);
}

.company-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: all 0.3s ease;
}

.luxury-company-card:hover .company-link {
    color: #fff;
}

.luxury-company-card:hover .company-link::after {
    width: 100%;
}

.luxury-company-card:hover .company-link i {
    transform: translateX(5px);
}

.hover-glow {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 0;
    height: 0;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.5s ease;
    opacity: 0;
}

.luxury-company-card[data-color="primary"]:hover .hover-glow {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(102, 51, 153, 0.8) 0%, transparent 70%);
    opacity: 0.15;
}

.luxury-company-card[data-color="secondary"]:hover .hover-glow {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(204, 51, 153, 0.8) 0%, transparent 70%);
    opacity: 0.15;
}

.luxury-company-card[data-color="accent"]:hover .hover-glow {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 102, 51, 0.8) 0%, transparent 70%);
    opacity: 0.15;
}

/* Market Stats Section */
#market {
    position: relative;
    overflow: hidden;
}

.market-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
}

.market-bg-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(102, 51, 153, 0.2), transparent 40%),
                radial-gradient(circle at bottom right, rgba(255, 102, 51, 0.2), transparent 40%);
    z-index: 0;
}

.market-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cc3399' fill-opacity='0.05'%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3Ccircle cx='30' cy='50' r='1'/%3E%3Ccircle cx='50' cy='30' r='1'/%3E%3Ccircle cx='70' cy='70' r='1'/%3E%3Ccircle cx='90' cy='50' r='1'/%3E%3Ccircle cx='50' cy='90' r='1'/%3E%3Ccircle cx='10' cy='50' r='1'/%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3Ccircle cx='50' cy='10' r='1'/%3E%3Ccircle cx='90' cy='90' r='1'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: 0;
}

/* Title Hexagon */
.market-title-wrap {
    position: relative;
    padding-top: 40px;
    margin-bottom: 30px;
}

.hexagon-title-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 46px;
    background: var(--gradient);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: pulse-hex 3s infinite alternate;
}

.hexagon-inner {
    position: absolute;
    width: 72px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

@keyframes pulse-hex {
    0% { transform: translateX(-50%) scale(1); box-shadow: 0 0 10px rgba(204, 51, 153, 0.4); }
    100% { transform: translateX(-50%) scale(1.05); box-shadow: 0 0 20px rgba(204, 51, 153, 0.6); }
}

.glow-text {
    text-shadow: 0 0 10px rgba(204, 51, 153, 0.6);
    animation: text-glow 3s infinite alternate;
}

@keyframes text-glow {
    0% { text-shadow: 0 0 10px rgba(204, 51, 153, 0.6); }
    100% { text-shadow: 0 0 20px rgba(255, 102, 51, 0.8); }
}

/* Stats Container */
.market-stats-container {
    background: rgba(10, 10, 10, 0.9);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    border: 1px solid rgba(102, 51, 153, 0.1);
    position: relative;
    overflow: hidden;
}

.market-stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.stats-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.stats-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.stats-line {
    width: 80px;
    height: 3px;
    background: var(--gradient);
    margin: 0 auto;
}

/* Stat Cards */
.stat-card {
    position: relative;
    border-radius: 12px;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card-inner {
    position: relative;
    padding: 35px 20px;
    height: 100%;
    background: rgba(15, 15, 15, 0.7);
    border-radius: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card[data-color="primary"] .stat-card-inner:hover {
    border-color: rgba(102, 51, 153, 0.3);
    box-shadow: 0 10px 25px rgba(102, 51, 153, 0.2);
}

.stat-card[data-color="secondary"] .stat-card-inner:hover {
    border-color: rgba(204, 51, 153, 0.3);
    box-shadow: 0 10px 25px rgba(204, 51, 153, 0.2);
}

.stat-card[data-color="accent"] .stat-card-inner:hover {
    border-color: rgba(255, 102, 51, 0.3);
    box-shadow: 0 10px 25px rgba(255, 102, 51, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card[data-color="primary"] .stat-icon {
    background: linear-gradient(45deg, var(--primary), rgba(102, 51, 153, 0.7));
    box-shadow: 0 5px 15px rgba(102, 51, 153, 0.3);
}

.stat-card[data-color="secondary"] .stat-icon {
    background: linear-gradient(45deg, var(--secondary), rgba(204, 51, 153, 0.7));
    box-shadow: 0 5px 15px rgba(204, 51, 153, 0.3);
}

.stat-card[data-color="accent"] .stat-icon {
    background: linear-gradient(45deg, var(--accent), rgba(255, 102, 51, 0.7));
    box-shadow: 0 5px 15px rgba(255, 102, 51, 0.3);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.counter {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.counter-suffix {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-left: 2px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* SVG Circle Progress */
.stat-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: rotate(-90deg);
}

.stat-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 3;
}

.stat-circle-progress {
    fill: none;
    stroke-width: 3;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 2s ease;
}

.stat-card[data-color="primary"] .stat-circle-progress {
    stroke: url(#primaryGradient);
    animation: progress-primary 2s ease forwards;
}

.stat-card[data-color="secondary"] .stat-circle-progress {
    stroke: url(#secondaryGradient);
    animation: progress-secondary 2s ease forwards;
}

.stat-card[data-color="accent"] .stat-circle-progress {
    stroke: url(#accentGradient);
    animation: progress-accent 2s ease forwards;
}

@keyframes progress-primary {
    to { stroke-dashoffset: 50; }
}

@keyframes progress-secondary {
    to { stroke-dashoffset: 100; }
}

@keyframes progress-accent {
    to { stroke-dashoffset: 75; }
}

/* Graph Container */
.market-graph-container {
    position: relative;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.graph-accent-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
}

.market-graph {
    position: relative;
    z-index: 2;
}

.graph-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.graph-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 10px;
}

.graph-highlights {
    display: flex;
    margin-top: 30px;
    justify-content: space-around;
}

.highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 15px 25px;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 10px;
    border-left: 3px solid var(--accent);
}

.highlight-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

.highlight-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Team Section */
#team {
    position: relative;
    overflow: hidden;
}

.team-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(102, 51, 153, 0.15), rgba(0, 0, 0, 0));
    z-index: 1;
}

.floating-shapes .shape {
    position: absolute;
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.floating-shapes .shape-1 {
    top: 10%;
    left: 5%;
    width: 220px;
    height: 220px;
    background: var(--primary);
    animation: float-shape 15s infinite alternate;
}

.floating-shapes .shape-2 {
    bottom: 10%;
    right: 5%;
    width: 180px;
    height: 180px;
    background: var(--secondary);
    animation: float-shape 18s 2s infinite alternate;
}

.floating-shapes .shape-3 {
    top: 40%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: var(--accent);
    animation: float-shape 12s 1.5s infinite alternate;
}

/* Team profile expansion styling */
.team-info {
    position: relative;
}

.company-affiliation {
    font-size: 0.85rem;
    font-style: italic;
    margin-top: -5px;
    color: rgba(255, 255, 255, 0.7);
}

.btn-view-profile {
    background: linear-gradient(45deg, #663399, #cc3399);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 51, 153, 0.3);
}

.btn-view-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 51, 153, 0.4);
}

.team-profile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 15px;
    padding: 20px;
    display: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: auto;
}

.team-profile.active {
    display: block;
    opacity: 1;
}

.profile-content {
    color: white;
    position: relative;
    padding: 30px 10px 10px;
}

.profile-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, #ff6633, #cc3399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-close:hover {
    transform: rotate(90deg);
}

@keyframes float-shape {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
    100% {
        transform: translateY(20px) rotate(-10deg);
    }
}

.hexagon-accent {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.2;
    animation: pulse-hexagon 4s infinite alternate;
    z-index: 1;
}

@keyframes pulse-hexagon {
    0% {
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) translateY(-50%) scale(1.1);
    }
    100% {
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
}

.shimmer-title {
    position: relative;
    overflow: hidden;
}

.shimmer-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

.animated-gradient {
    background-size: 300% 300%;
    background-image: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    animation: gradient-shift 8s infinite linear;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.section-divider.with-diamonds {
    position: relative;
    margin: 0 auto 30px;
}

.section-divider.with-diamonds::before,
.section-divider.with-diamonds::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--accent);
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.section-divider.with-diamonds::before {
    left: calc(50% - 60px);
}

.section-divider.with-diamonds::after {
    right: calc(50% - 60px);
}

.team-description {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.team-card {
    background: rgba(20, 20, 25, 0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    height: 100%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-accent {
    position: absolute;
    width: 4px;
    height: 60%;
    left: 0;
    top: 20%;
    transition: all 0.5s ease;
}

.accent-primary {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(102, 51, 153, 0.7);
}

.accent-secondary {
    background: var(--secondary);
    box-shadow: 0 0 15px rgba(204, 51, 153, 0.7);
}

.accent-accent {
    background: var(--accent);
    box-shadow: 0 0 15px rgba(255, 102, 51, 0.7);
}

.accent-gradient {
    background: var(--gradient);
    box-shadow: 0 0 15px rgba(204, 51, 153, 0.7);
}

.team-card:hover .card-accent {
    height: 80%;
    top: 10%;
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.team-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}

.team-card:hover .team-img img {
    transform: scale(1.15);
}

.team-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2;
}

.team-card:hover .team-social {
    bottom: 0;
    opacity: 1;
}

.social-icon {
    color: #fff;
    margin: 0 10px;
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--light);
    transform: translateY(-3px);
}

.team-primary .social-icon:hover {
    background: var(--primary);
}

.team-secondary .social-icon:hover {
    background: var(--secondary);
}

.team-accent .social-icon:hover {
    background: var(--accent);
}

.team-gradient .social-icon:hover {
    background: var(--gradient);
}

.team-info {
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

.team-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.team-card:hover .team-info h4 {
    transform: translateY(-5px);
}

.team-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0 0 15px;
    transition: all 0.3s ease;
}

.team-card:hover .team-info p {
    color: rgba(255, 255, 255, 0.9);
}

.experience-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-primary .experience-badge {
    background: rgba(102, 51, 153, 0.2);
    border: 1px solid rgba(102, 51, 153, 0.5);
    color: #9966cc;
}

.team-secondary .experience-badge {
    background: rgba(204, 51, 153, 0.2);
    border: 1px solid rgba(204, 51, 153, 0.5);
    color: #ff66cc;
}

.team-accent .experience-badge {
    background: rgba(255, 102, 51, 0.2);
    border: 1px solid rgba(255, 102, 51, 0.5);
    color: #ff9966;
}

.team-gradient .experience-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.team-card:hover .experience-badge {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    animation: badge-shine 4s infinite;
}

@keyframes badge-shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

/* Contact/CTA Section */
.cta-section {
    position: relative;
    background: #080812;
    overflow: hidden;
}

.contact-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(102, 51, 153, 0.2), rgba(0, 0, 0, 0));
    z-index: 1;
}

.contact-accent-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.accent-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.15;
}

.shape-left {
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation: morphing 15s ease-in-out infinite alternate;
}

.shape-right {
    bottom: -10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    animation: morphing 18s 2s ease-in-out infinite alternate;
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.accent-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        rgba(102, 51, 153, 0.05) 0%,
        rgba(204, 51, 153, 0.05) 40%,
        rgba(255, 102, 51, 0.05) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    opacity: 0.5;
}

.luxury-contact-container {
    position: relative;
    z-index: 2;
    background: rgba(15, 15, 25, 0.75);
    border-radius: 20px;
    padding: 60px 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(102, 51, 153, 0.3);
    backdrop-filter: blur(10px);
}

.luxury-contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/luxury-pattern.png') repeat;
    opacity: 0.03;
    z-index: -1;
}

.contact-header {
    position: relative;
    margin-bottom: 40px;
}

.vip-badge {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(204, 51, 153, 0.6);
    z-index: 3;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse-badge 2s infinite alternate;
}

@keyframes pulse-badge {
    0% {
        box-shadow: 0 8px 25px rgba(204, 51, 153, 0.6);
    }
    100% {
        box-shadow: 0 15px 35px rgba(204, 51, 153, 0.9);
    }
}

.vip-badge span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.contact-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    position: relative;
}

.animated-text {
    background-image: linear-gradient(90deg, var(--secondary), var(--accent), var(--primary));
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    animation: gradient-text 6s infinite linear;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.title-underline {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 30px;
    position: relative;
}

.title-underline span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gradient);
    animation: fill-line 2s 1s forwards;
}

@keyframes fill-line {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.luxury-form-container {
    position: relative;
    padding: 60px 40px 40px;
    background: rgba(10, 10, 20, 0.3);
    border-radius: 15px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-decoration {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 1;
}

.top-left {
    top: 0;
    left: 0;
    border-top: 3px solid var(--primary);
    border-left: 3px solid var(--primary);
    border-top-left-radius: 15px;
}

.top-right {
    top: 0;
    right: 0;
    border-top: 3px solid var(--secondary);
    border-right: 3px solid var(--secondary);
    border-top-right-radius: 15px;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-bottom: 3px solid var(--secondary);
    border-left: 3px solid var(--secondary);
    border-bottom-left-radius: 15px;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
    border-bottom-right-radius: 15px;
}

.luxury-input-group {
    position: relative;
    margin-bottom: 30px;
}

.luxury-form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.luxury-form-control:focus {
    outline: none;
    background: rgba(30, 30, 50, 0.4);
    border-bottom-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.luxury-input-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

textarea ~ .luxury-input-label {
    top: 25px;
    transform: none;
}

.luxury-form-control:focus ~ .luxury-input-label,
.luxury-form-control:valid ~ .luxury-input-label {
    top: -5px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--secondary);
    background: rgba(10, 10, 20, 0.8);
    padding: 0 10px;
    border-radius: 4px;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    z-index: 3;
}

.luxury-form-control:focus ~ .focus-border {
    width: 100%;
}

.luxury-submit-btn {
    position: relative;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    animation: gradient-shift 8s infinite linear;
    margin-top: 20px;
}

.luxury-submit-btn span {
    position: relative;
    z-index: 2;
}

.luxury-submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(204, 51, 153, 0.5);
}

.luxury-submit-btn .btn-glow {
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(35deg);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
}

.luxury-submit-btn:hover .btn-glow {
    top: -10%;
    left: -30%;
    opacity: 0.2;
}

.fa-paper-plane {
    margin-left: 10px;
    transition: all 0.3s ease;
}

.luxury-submit-btn:hover .fa-paper-plane {
    transform: translateX(5px);
}


/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.footer h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.footer h4 {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 20px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.contact-info {
    padding: 0;
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    width: 25px;
    margin-right: 15px;
    color: var(--accent);
}

.copyright {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--light);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 15px 0;
        background: rgba(0, 0, 0, 0.95);
    }
    
    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    /* Hero section responsive styling */
    .hero-content {
        text-align: center;
        padding: 30px 0 50px;
    }
    
    .logo-emblem {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 80%;
        margin: 0 !important;
    }
    
    /* Hide 3D cube on mobile */
    .col-lg-6 .hero-3d-element {
        display: none;
    }
    
    .luxury-text {
        font-size: 3rem;
    }
    
    .text-reveal {
        display: inline-block;
    }
    
    .feature-cards-container {
        margin-top: -50px; /* Adjusted since the cube is hidden */
        margin-bottom: 30px;
    }
    
    .luxury-card {
        margin-bottom: 25px;
    }
    
    .team-card {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .logo-emblem {
        width: 80px;
        height: 80px;
    }
    
    .emblem-inner {
        font-size: 32px;
    }
    
    .luxury-text {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .feature-cards-container {
        margin-top: -20px;
        padding-top: 20px;
    }
    
    .creative-divider {
        margin-top: 60px;
    }
}

@media (max-width: 767.98px) {
    .navbar-nav {
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
    }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .animated-bg {
        width: 300px;
        height: 300px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1.5s ease-out;
}

.slide-up {
    animation: slideUp 1s ease-out;
}

.scale-in {
    animation: scaleIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
