/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #0088ff;
    --secondary-color: #6c00ff;
    --accent-color: #00e5ff;
    --dark-bg: #050b1f;
    --darker-bg: #030613;
    --card-bg: #0a1128;
    --text-color: #ffffff;
    --text-muted: #a0a0c0;
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-hover: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Raleway', sans-serif;
}

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

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

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn, .nav-link {
    font-family: var(--heading-font);
}

.dark-theme {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

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

/* If floating or absolute positioning is causing issues */
section {
    padding: 100px 0;
    position: relative;
    clear: both;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.btn {
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.6);
    transform: translateY(-2px);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #0056a3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.btn-telegram:hover {
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
    transform: translateY(-2px);
}

.btn-telegram i {
    font-size: 1.1em;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--accent-color);
}

.btn-link:hover i {
    transform: translateX(5px);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    z-index: 1000;
    background-color: rgba(5, 11, 31, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background-color: rgba(3, 6, 19, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.navbar-brand img.logo {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
}

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

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    width: 30px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.login-btn {
    margin-left: 15px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(108, 0, 255, 0.1), transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0, 136, 255, 0.1), transparent 50%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-animation {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
}

.chart-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.chart-line {
    position: absolute;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    top: calc(50% + var(--i, 0) * 40px);
    left: 10%;
    transform: translateZ(calc(var(--i, 0) * 20px));
    opacity: 0.7;
}

.chart-line:nth-child(1) { --i: -2; }
.chart-line:nth-child(2) { --i: 0; }
.chart-line:nth-child(3) { --i: 2; }

.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--dark-bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 50%, 75% 100%, 50% 50%, 25% 100%, 0 50%);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: var(--dark-bg);
    position: relative;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.3);
}

.service-icon i {
    font-size: 28px;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ===== PERFORMANCE SECTION ===== */
.performance-section {
    background-color: var(--darker-bg);
    position: relative;
}

.performance-chart {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.performance-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 20px;
}

.chart-bar {
    width: 15%;
    background: var(--gradient);
    border-radius: 10px 10px 0 0;
    position: relative;
    animation: barGrow 3s ease-out forwards;
    opacity: 0;
}

.chart-bar:nth-child(1) { height: 60%; animation-delay: 0.2s; }
.chart-bar:nth-child(2) { height: 80%; animation-delay: 0.4s; }
.chart-bar:nth-child(3) { height: 65%; animation-delay: 0.6s; }
.chart-bar:nth-child(4) { height: 90%; animation-delay: 0.8s; }
.chart-bar:nth-child(5) { height: 75%; animation-delay: 1s; }

@keyframes barGrow {
    0% {
        height: 0;
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.performance-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: var(--dark-bg);
    position: relative;
    padding: 100px 0;  /* Increased padding for better spacing */
    margin-top: 0;     /* Remove any top margin if it's pushing down */
}

.testimonial-carousel .carousel-inner {
    overflow: hidden;
}

.testimonial-carousel .carousel-item {
    transition: transform 0.5s ease;
}

.testimonial-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.testimonial-content:before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
    flex-grow: 1;
}

.client-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.client-info span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.carousel-control-prev,
.carousel-control-next {
    filter: invert(1) grayscale(100);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    background-color: var(--text-muted);
}

.carousel-indicators .active {
    background-color: var(--primary-color);
}

/* ===== WHY US SECTION ===== */
.why-us-section {
    background-color: var(--darker-bg);
    position: relative;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.3);
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ===== BLOG SECTION ===== */
.blog-section {
    background-color: var(--dark-bg);
    position: relative;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background-color: var(--dark-bg);
    position: relative;
}

.team-member {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.member-image .social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.team-member:hover .member-image .social-links {
    transform: translateY(0);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.member-info span {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.member-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== OUR STORY SECTION ===== */
.about-story-section {
    background-color: var(--dark-bg);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.about-story-section:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 136, 255, 0.05), transparent 60%);
    z-index: 0;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--primary-color);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--gradient);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.4);
    text-align: center;
    transform: rotate(-5deg);
    z-index: 2;
    transition: var(--transition);
}

.about-image:hover .experience-badge {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 136, 255, 0.6);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    font-family: var(--heading-font);
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(0, 136, 255, 0.3);
    transition: var(--transition);
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1) rotate(10deg);
}

.highlight-icon i {
    font-size: 20px;
    color: white;
}

.highlight-content {
    flex: 1;
}

.highlight-content h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-color);
}

.highlight-content p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .about-image {
        margin-bottom: 50px;
    }
    
    .experience-badge {
        bottom: 20px;
        right: 20px;
        padding: 15px 25px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .highlight-item {
        padding: 15px;
    }
    
    .highlight-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .highlight-icon i {
        font-size: 16px;
    }
    
    .highlight-content h4 {
        font-size: 1.1rem;
    }
}

/* ===== CORE VALUES SECTION ===== */
.values-section {
    background-color: var(--darker-bg);
    position: relative;
    padding: 100px 0;
}

.values-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(108, 0, 255, 0.05), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(0, 136, 255, 0.05), transparent 40%);
    z-index: 0;
}

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

.value-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.3);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 136, 255, 0.5);
}

.value-icon i {
    font-size: 32px;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.value-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--darker-bg);
    padding: 80px 0 0;
    position: relative;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.footer-links {
    margin-bottom: 30px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

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

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

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

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter {
    margin-bottom: 30px;
}

.footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
    position: relative;
}

.footer-newsletter input {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--text-color);
}

.footer-newsletter button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: 50px;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 136, 255, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 136, 255, 0.6);
}

/* ===== GLOBAL PRESENCE SECTION ===== */
.global-section {
    position: relative;
    padding: 100px 0;
    background: radial-gradient(circle at 70% 30%, rgba(var(--primary-rgb), 0.08), transparent 70%);
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* We already have .stat-item styling that will be applied */

.global-text {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 30px;
}

.office-locations {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.office-locations:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.office-locations h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 10px;
}

.office-locations h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(var(--primary-rgb), 0.05);
    transition: var(--transition);
}

.location-item:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-3px);
}

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

.location-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.global-map {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.map-container:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: rgba(var(--primary-rgb), 0.03);
    background-image: url('https://cdn.jsdelivr.net/npm/world-map-svg@1.0.0/world-map.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    opacity: 0.7;
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 rgba(var(--primary-rgb), 0.4);
    animation: pulse 2s infinite;
}

/* ===== JOIN OUR TEAM SECTION ===== */
.join-team-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
}

.join-team-section .section-header h2 {
    position: relative;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--heading-color);
}

.join-team-section .section-header p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.join-team-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ===== MISSION & VISION SECTION ===== */
.mission-vision-section {
    position: relative;
    padding: 100px 0;
    background: radial-gradient(circle at 30% 70%, rgba(var(--primary-rgb), 0.05), transparent 60%);
}

.mission-card,
.vision-card {
    height: 100%;
    padding: 40px 30px;
    border-radius: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
    background: var(--gradient);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: #fff;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.mission-card p,
.vision-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 25px;
}

.mission-list,
.vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li,
.vision-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-left: 5px;
}

.mission-list li i,
.vision-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
    margin-top: 3px;
}

.mission-list li:last-child,
.vision-list li:last-child {
    margin-bottom: 0;
}

/* Unique styling for mission card */
.mission-card {
    background-image: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0.01) 100%);
}

/* Unique styling for vision card */
.vision-card {
    background-image: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.01) 100%);
}

/* Animation for icons */
.mission-card:hover .card-icon,
.vision-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .mission-vision-section {
        padding: 80px 0;
    }
    
    .vision-card {
        margin-top: 30px;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
}

.benefit-item span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--heading-color);
}

.team-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.team-image:hover {
    transform: translateY(-10px);
}

.team-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.2), rgba(var(--secondary-rgb), 0.2));
    opacity: 0;
    transition: var(--transition);
}

.team-image:hover:after {
    opacity: 1;
}

.team-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .join-team-section {
        padding: 80px 0;
    }
    
    .team-image {
        margin-top: 40px;
    }
}

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

/* ===== SERVICES PAGE STYLES ===== */

/* Services Overview Section */
.services-overview-section {
    background-color: var(--dark-bg);
    position: relative;
    padding: 100px 0 70px;
}

.services-overview-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(108, 0, 255, 0.08), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(0, 136, 255, 0.08), transparent 40%);
    z-index: 0;
}

.service-box {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient);
    transition: var(--transition);
    z-index: -1;
}

.service-box:hover:before {
    height: 100%;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(108, 0, 255, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.3);
    transition: var(--transition);
}

.service-box:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 25px rgba(0, 136, 255, 0.5);
}

.service-icon i {
    font-size: 28px;
    color: white;
    transition: var(--transition);
}

.service-box:hover .service-icon i {
    transform: scale(1.2);
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.service-box:hover h3 {
    color: var(--primary-color);
}

.service-box p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Trading Section */
.trading-section {
    background-color: var(--darker-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.trading-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(0, 136, 255, 0.08), transparent 40%);
    z-index: 0;
}

.features-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: var(--transition);
    padding: 15px;
    border-radius: 10px;
}

.feature-item:hover {
    background-color: rgba(10, 17, 40, 0.7);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.1), rgba(108, 0, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--gradient);
    transform: rotate(10deg);
}

.feature-icon i {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover .feature-icon i {
    color: white;
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.feature-item:hover .feature-content h4 {
    color: var(--primary-color);
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.platform-showcase {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.platform-showcase img {
    transition: var(--transition);
    width: 100%;
}

.platform-showcase:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.platform-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 11, 31, 0.8), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.platform-showcase:hover .platform-overlay {
    opacity: 1;
}

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.play-btn i {
    font-size: 24px;
    color: white;
    margin-left: 5px;
}

.play-btn:hover {
    transform: scale(1.1);
}

.platform-overlay span {
    color: white;
    font-weight: 500;
}

/* Asset Management Section */
.asset-management-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
    position: relative;
}

.asset-management-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 136, 255, 0.08), transparent 40%);
    z-index: 0;
}

.asset-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.asset-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.2), rgba(108, 0, 255, 0.2));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.asset-image:hover:before {
    opacity: 1;
}

.asset-image img {
    transition: var(--transition);
    width: 100%;
}

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

.portfolio-types {
    margin-top: 30px;
}

.portfolio-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 136, 255, 0.3);
}

.portfolio-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.portfolio-item p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.portfolio-stats {
    display: flex;
    justify-content: space-between;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat .label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Risk Management Section */
.risk-management-section {
    background-color: var(--darker-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.risk-management-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(108, 0, 255, 0.08), transparent 40%);
    z-index: 0;
}

.risk-strategies {
    margin-top: 30px;
}

.strategy-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: var(--transition);
    padding: 15px;
    border-radius: 10px;
}

.strategy-item:hover {
    background-color: rgba(10, 17, 40, 0.7);
    transform: translateX(5px);
}

.strategy-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.1), rgba(108, 0, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: var(--transition);
}

.strategy-item:hover .strategy-icon {
    background: var(--gradient);
    transform: rotate(10deg);
}

.strategy-icon i {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.strategy-item:hover .strategy-icon i {
    color: white;
}

.strategy-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.strategy-item:hover .strategy-content h4 {
    color: var(--primary-color);
}

.strategy-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.risk-visualization {
    position: relative;
}

.risk-chart {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    height: 300px;
    position: relative;
    overflow: hidden;
}

.risk-chart-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.risk-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    animation: pulse 3s infinite;
}

.risk-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 136, 255, 0.1), transparent);
    clip-path: polygon(0 100%, 10% 80%, 20% 90%, 30% 70%, 40% 85%, 50% 60%, 60% 80%, 70% 40%, 80% 60%, 90% 30%, 100% 50%, 100% 100%);
    animation: wave 10s infinite linear;
}

.risk-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.risk-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.7);
    animation: pulse 2s infinite;
}

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

@keyframes wave {
    0% { clip-path: polygon(0 100%, 10% 80%, 20% 90%, 30% 70%, 40% 85%, 50% 60%, 60% 80%, 70% 40%, 80% 60%, 90% 30%, 100% 50%, 100% 100%); }
    50% { clip-path: polygon(0 100%, 10% 70%, 20% 85%, 30% 60%, 40% 75%, 50% 50%, 60% 70%, 70% 30%, 80% 50%, 90% 40%, 100% 60%, 100% 100%); }
    100% { clip-path: polygon(0 100%, 10% 80%, 20% 90%, 30% 70%, 40% 85%, 50% 60%, 60% 80%, 70% 40%, 80% 60%, 90% 30%, 100% 50%, 100% 100%); }
}

.risk-assessment-cta {
    background: var(--gradient);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.risk-assessment-cta h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.risk-assessment-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Wealth Growth Section */
.wealth-growth-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
    position: relative;
}

.wealth-growth-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 136, 255, 0.08), transparent 40%),
                radial-gradient(circle at 70% 30%, rgba(108, 0, 255, 0.08), transparent 40%);
    z-index: 0;
}

.plan-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 0;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 136, 255, 0.3);
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.plan-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.plan-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.3);
    transition: var(--transition);
}

.plan-card:hover .plan-icon {
    transform: scale(1.1) rotate(5deg);
}

.plan-icon i {
    font-size: 28px;
    color: white;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.plan-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan-features {
    padding: 30px;
    flex-grow: 1;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan-features ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1rem;
}

.plan-footer {
    padding: 20px 30px 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.plan-price {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-right: 5px;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 5px;
}

/* Process Section */
.process-section {
    background-color: var(--darker-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.process-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(108, 0, 255, 0.08), transparent 40%);
    z-index: 0;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 3;
    flex-shrink: 0;
    transition: var(--transition);
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1) rotate(10deg);
}

.timeline-content {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-left: 20px;
    flex-grow: 1;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    border-color: rgba(0, 136, 255, 0.3);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
    position: relative;
}

.faq-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 136, 255, 0.08), transparent 40%),
                radial-gradient(circle at 70% 30%, rgba(108, 0, 255, 0.08), transparent 40%);
    z-index: 0;
}

.accordion {
    margin-bottom: 30px;
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background-color: var(--card-bg);
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    box-shadow: none;
    border: none;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background-color: var(--card-bg);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230088ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .process-timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .navbar-collapse {
        background-color: var(--darker-bg);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: var(--box-shadow);
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0;
    }
    
    .login-btn {
        margin: 10px 0 0;
        display: inline-block;
    }
    
    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }
    
    .hero-animation {
        margin-top: 50px;
    }
    
    .testimonial-item {
        flex: 0 0 calc(100% - 30px);
    }
}


@media (max-width: 767px) {
    section {
        padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-btns .btn {
        margin-bottom: 15px;
    }
    
    .performance-stats {
        grid-template-columns: 1fr;
    }
    
    .cta-section .text-lg-end {
        text-align: left !important;
        margin-top: 20px;
    }
    
    .footer {
        padding-top: 50px;
    }
    
    .footer-bottom .text-md-end {
        text-align: left !important;
        margin-top: 10px;
    }
}

@media (max-width: 575px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .service-icon,
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i,
    .feature-icon i {
        font-size: 20px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}