:root {
    /* Color Palette */
    --primary-color: #9b59b6;
    --primary-dark: #8e44ad;
    --secondary-color: #f1c40f;
    --secondary-dark: #f39c12;
    --accent-color: #1abc9c;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --card-bg: #1e1e2d;
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --border-color: #2c2c3a;
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-spacing: 6rem;
    --element-spacing: 2rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem */
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 5rem;
    font-weight: 900;
}

h2 {
    font-size: 3.6rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 6rem;
    height: 0.3rem;
    background: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header p {
    font-size: 1.8rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.subtitle {
    font-size: 2rem;
    color: var(--secondary-color);
    font-family: var(--heading-font);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 5rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--body-font);
    font-size: 1.6rem;
}

.btn i {
    margin-left: 0.8rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--darker-bg);
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-small {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 2rem 0;
}

header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 1.6rem;
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:first-child {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:last-child {
    bottom: 0;
}

.mobile-menu-btn.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
    padding-top: 8rem;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crystal-ball {
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.05) 40%, transparent 60%);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 50px rgba(155, 89, 182, 0.5);
    animation: float 6s ease-in-out infinite;
}

.crystal-ball-inner {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(26, 188, 156, 0.2) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.crystal-ball-inner i {
    font-size: 5rem;
    color: var(--secondary-color);
    animation: pulse 3s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    animation: float-random 15s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 15%;
    left: 10%;
    font-size: 2rem;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 25%;
    right: 15%;
    font-size: 3rem;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    font-size: 2.5rem;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    bottom: 30%;
    right: 25%;
    font-size: 2rem;
    animation-delay: 6s;
}

.floating-element:nth-child(5) {
    top: 50%;
    left: 50%;
    font-size: 3.5rem;
    animation-delay: 8s;
}

/* Services Section */
.services {
    background-color: var(--darker-bg);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 7rem;
    height: 7rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.service-icon i {
    font-size: 3rem;
    color: var(--text-light);
}

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

.service-card p {
    color: var(--text-muted);
}

/* Tools Section */
.tools {
    background-color: var(--dark-bg);
}

.tools-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.tool-card {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.tool-card.reverse {
    flex-direction: row-reverse;
}

.tool-image {
    flex: 1;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.tool-content {
    flex: 1;
}

.tool-features {
    list-style: none;
    margin: 2rem 0;
}

.tool-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tool-features i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

/* Education Section */
.education {
    background-color: var(--darker-bg);
}

.education-content {
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.education-tabs {
    display: flex;
    background-color: rgba(0, 0, 0, 0.2);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--body-font);
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--text-light);
    border-bottom-color: var(--primary-color);
    background-color: rgba(155, 89, 182, 0.1);
}

.tab-content {
    padding: 3rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.course-card p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--dark-bg);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.testimonial-quote {
    position: relative;
    padding: 0 2rem;
}

.testimonial-quote i.fa-quote-left {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 2rem;
}

.testimonial-quote i.fa-quote-right {
    position: absolute;
    bottom: 0;
    right: 0;
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 2rem;
}

.testimonial-quote p {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

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

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 2rem;
}

.testimonial-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.testimonial-btn:hover {
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    background-color: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper {
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-family: var(--body-font);
    font-size: 1.6rem;
    transition: border-color 0.3s ease;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.contact-details h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

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

.social-links i {
    font-size: 1.8rem;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo a {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo p {
    color: var(--text-muted);
}

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

.footer-column h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 0;
    width: 3rem;
    height: 0.2rem;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 1.4rem;
}

.disclaimer {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-random {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -15px);
    }
    50% {
        transform: translate(-5px, -25px);
    }
    75% {
        transform: translate(-15px, -10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

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

/* Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .tool-card, .tool-card.reverse {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--darker-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .crystal-ball {
        width: 20rem;
        height: 20rem;
    }
    
    .course-cards {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}