/* Global Styles */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #ff006e;
    --light-color: #ffffff;
    --dark-color: #1a1a2e;
    --gray-color: #f8f9fa;
    --text-color: #333333;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --border-radius: 10px;
    --border-radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: linear-gradient(-45deg, #f8f9fa, #e9ecef, #dee2e6, #ced4da);
    background-size: 400% 400%;
    animation: gradient-bg 15s ease infinite;
}

@keyframes gradient-bg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .container {
    max-width: 1400px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition-slow);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(58, 134, 255, 0.4);
    letter-spacing: 1.5px;
}

.btn:hover::before {
    left: 0;
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(58, 134, 255, 0.4);
}

/* Header & Navbar */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #0d274e 0%, #8f31b4 100%);
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-size: cover;
    transition: var(--transition-slow);
}

/* Uniform section background utility */
.uniform-bg {
    position: relative;
    background: radial-gradient(1000px 600px at 10% 10%, rgba(124,92,255,0.18), transparent),
                radial-gradient(800px 500px at 90% 20%, rgba(0,212,255,0.18), transparent),
                #0b0d15;
    overflow: hidden;
}

.uniform-bg::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 180deg at 50% 50%, rgba(124,92,255,0.15), rgba(0,212,255,0.15), rgba(25,226,138,0.15), rgba(124,92,255,0.15));
    filter: blur(50px);
    animation: spin 20s linear infinite;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

@keyframes spin { 
    to { transform: rotate(360deg); } 
}

.uniform-bg .container {
    position: relative;
    z-index: 1;
}

.uniform-bg .section-title { 
    color: #e8ecf1; 
    position: relative;
}

.uniform-bg .section-description { 
    color: #a9b1c3; 
    position: relative;
}

/* Force all page heroes to match index hero gradient */
.courses-hero,
.investment-hero,
.portfolio-hero,
.hero {
    position: relative;
    background: radial-gradient(1000px 600px at 10% 10%, rgba(124,92,255,0.18), transparent),
                radial-gradient(800px 500px at 90% 20%, rgba(0,212,255,0.18), transparent),
                #0b0d15;
    color: #e8ecf1;
    overflow: hidden;
}

.courses-hero::before,
.investment-hero::before,
.portfolio-hero::before,
.hero::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 180deg at 50% 50%, rgba(124,92,255,0.15), rgba(0,212,255,0.15), rgba(25,226,138,0.15), rgba(124,92,255,0.15));
    filter: blur(50px);
    animation: spin 20s linear infinite;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

/* Community Savings & Packages Section */
.community-savings { padding: 64px 0; }

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 980px) { .packages-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .packages-grid { grid-template-columns: 1fr; } }

.package-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124,92,255,0.35);
    box-shadow: 0 18px 50px rgba(124,92,255,0.35);
}

.package-card h3 { margin: 0 0 8px; color: #e8ecf1; }
.package-profit { margin: 0 0 16px; color: #a9b1c3; font-size: 16px; }
.package-profit span {
    display: inline-block;
    font-weight: 700;
    font-size: 24px;
    background: linear-gradient(135deg, #7c5cff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-gradient {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(135deg, #7c5cff, #00d4ff);
    color: #0b0d15;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-gradient:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0,0,0,0.45); }

.hero::before {
    content: '';
    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%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233a86ff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    transition: var(--transition-slow);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-slow);
    transform: scale(0.9);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--box-shadow-hover);
    color: var(--light-color);
}

.card:hover::before {
    opacity: 0.9;
    transform: scale(1);
}

.card:hover h3, .card:hover p, .card:hover i {
    color: var(--light-color);
    transition: var(--transition);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: var(--gray-color);
    color: var(--primary-color);
}

.trading-card .card-icon {
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
}

.investment-card .card-icon {
    background: rgba(131, 56, 236, 0.1);
    color: var(--secondary-color);
}

.card h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.card p {
    color: #666;
    margin-bottom: 25px;
}

.ceo-profile {
    text-align: center;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 5px solid white;
    position: relative;
}

.image-container {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* Page Hero Sections */
.page-hero {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    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%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233a86ff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.courses-hero {
    background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
    color: white;
}

.investment-hero {
    background: linear-gradient(135deg, #250a4b 0%, #3579a0 100%);
    color: white;
}

.portfolio-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 150px 0 50px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 180px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: white;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-item h3 {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    height: 220px; /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(58, 134, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    flex: 1;
}

.testimonial-text-short {
    display: block;
    max-height: 3em; /* Height for 2 lines */
    overflow: hidden;
    line-height: 1.5;
}

.testimonial-text-full {
    display: none;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    z-index: 1;
}

.see-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
    font-size: 0.9rem;
}

.testimonial-author {
    margin-top: auto;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Courses Page Styles */
.courses-overview {
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: white;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-image {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image i {
    font-size: 4rem;
    color: white;
}

.course-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    margin-bottom: 15px;
}

.course-content p {
    margin-bottom: 20px;
    color: #666;
}

.course-features {
    margin-bottom: 25px;
}

.course-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.course-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Course Benefits */
.course-benefits {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 auto 20px;
}

/* Investment Page Styles */
.investment-overview {
    padding: 100px 0;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.investment-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.investment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.investment-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 auto 20px;
}

.investment-card h3 {
    margin-bottom: 15px;
}

.investment-card p {
    margin-bottom: 25px;
    color: #666;
}

/* Investment Process */
.investment-process {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.process-steps {
    max-width: 800px;
    margin: 50px auto 0;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--primary-color);
    opacity: 0.3;
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 30px;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.step-content h3 {
    margin-bottom: 10px;
}

/* Investment Performance */
.investment-performance {
    padding: 100px 0;
}

.performance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Portfolio Page Styles */
.portfolio-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.profile-info {
    text-align: center;
}

.profile-title {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 15px;
}

.profile-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.profile-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.profile-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Biography Section */
.biography {
    padding: 100px 0;
}

.biography-content {
    max-width: 800px;
    margin: 0 auto;
}

.biography-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.achievement-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 auto 20px;
}

.achievement-card h3 {
    margin-bottom: 15px;
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
}

.expertise-grid {
    max-width: 800px;
    margin: 50px auto 0;
}

.expertise-item {
    margin-bottom: 30px;
}

.expertise-item h3 {
    margin-bottom: 10px;
}

.expertise-bar {
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.expertise-level {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 5px;
}

/* Portfolio Contact */
.portfolio-contact {
    padding: 100px 0;
    background-color: var(--gray-color);
    text-align: center;
}

/* Call to Action */
.cta {
    padding: 100px 0;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta .btn {
    background: white;
    color: var(--primary-color);
}

.cta .btn:hover {
    background: var(--accent-color);
    color: white;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
    
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3,
.footer-social h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-about h3::after,
.footer-contact h3::after,
.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-about p,
.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
    }
    
    .card {
        width: 100%;
    }
    
    .ceo-profile {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        transition: var(--transition);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 30px;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .testimonial-item {
        flex: 0 0 100%;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .about-content,
    .stats {
        flex-direction: column;
    }
    
    .services-grid,
    .benefits-grid,
    .investment-grid,
    .performance-stats,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .process-step::before {
        display: none;
    }
}

/* Design System Overhaul */
:root {
  --surface-0: #ffffff;
  --surface-1: #f7f9fc;
  --surface-2: #eef2f7;
  --text-strong: #1f2937;
  --text-muted: #6b7280;
  --shadow-soft: 0 10px 24px rgba(16, 24, 40, .08);
  --shadow-strong: 0 24px 48px rgba(16, 24, 40, .12);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px;
}

html { scroll-behavior: smooth; }

body { color: var(--text-strong); }

h1, h2, h3, h4 {
  letter-spacing: .2px;
  color: var(--text-strong);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.25; }
p { color: var(--text-muted); font-size: 1.05rem; }

section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

header {
  background: rgba(255,255,255,0.6);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(16,24,40,0.08);
}

nav ul li a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-strong);
}

nav ul li a.active,
nav ul li a:hover {
  background: rgba(58,134,255,0.08);
  color: var(--primary-color);
}

.hero {
  background-blend-mode: overlay;
}

.card,
.service-item,
.benefit-item,
.investment-card,
.achievement-card,
.stat-card,
.course-card,
.step-content,
.testimonial-content {
  border: 1px solid rgba(16,24,40,0.06);
  box-shadow: var(--shadow-soft);
}

.card:hover,
.service-item:hover,
.benefit-item:hover,
.investment-card:hover,
.achievement-card:hover,
.stat-card:hover,
.course-card:hover {
  box-shadow: var(--shadow-strong);
}

.section-title {
  font-weight: 700;
}

.section-in-view {
  transform: translateZ(0);
}

.section-in-view::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  width: 120px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 999px;
  opacity: .3;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: 16px;
  border-radius: 50%;
  border: 1px solid rgba(16,24,40,0.08);
  background: rgba(255,255,255,0.7);
  color: var(--text-strong);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  color: var(--primary-color);
}

/* Dark theme */
body.dark-theme {
  --light-color: #0f1117;
  --text-color: #e5e7eb;
  --gray-color: #111827;
  --text-strong: #e5e7eb;
  --text-muted: #9ca3af;
  --box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  --box-shadow-hover: 0 15px 35px rgba(0,0,0,0.45);
}

body.dark-theme {
  background: linear-gradient(135deg, #0b1020 0%, #111827 100%);
  color: var(--text-strong);
}

body.dark-theme header {
  background: rgba(17, 24, 39, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

body.dark-theme nav ul li a {
  color: var(--text-strong);
}

body.dark-theme nav ul li a.active,
body.dark-theme nav ul li a:hover {
  background: rgba(58,134,255,0.15);
  color: #9cc0ff;
}

body.dark-theme .card,
body.dark-theme .service-item,
body.dark-theme .benefit-item,
body.dark-theme .investment-card,
body.dark-theme .achievement-card,
body.dark-theme .stat-card,
body.dark-theme .course-card,
body.dark-theme .step-content,
body.dark-theme .testimonial-content {
  background: #0f1117;
  border-color: rgba(255,255,255,0.06);
}

body.dark-theme .card-icon,
body.dark-theme .benefit-icon,
body.dark-theme .investment-icon,
body.dark-theme .achievement-icon {
  background: rgba(58,134,255,0.12);
  color: #9cc0ff;
}

footer {
  background: #0b1020;
}

.footer-links ul li a {
  color: #e5e7eb;
}