@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #1e2a38;
    --secondary-color: #f2b705;
    --accent-color: #3498db;
    --text-dark: #1e2a38;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(30, 42, 56, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.navbar-brand span {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

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

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

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
}

/* Animated Icons in Hero */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

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

/* Buttons */
.btn-custom {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary-custom {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-primary-custom:hover {
    background-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(242, 183, 5, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.course-img {
    height: 200px;
    background: #eee;
    position: relative;
    overflow: hidden;
}

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

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

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.course-body {
    padding: 25px;
    flex-grow: 1;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* How It Works */
.step-item {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    box-shadow: var(--shadow);
    z-index: 2;
    position: relative;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 60%;
    width: 100%;
    height: 2px;
    border-top: 2px dashed #ddd;
    z-index: 1;
}

.step-item:last-child::after {
    display: none;
}

/* Features */
.feature-box {
    padding: 40px;
    background: white;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-box:hover {
    background: var(--primary-color);
    color: white;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Testimonials */
.testi-slider {
    overflow: hidden;
}

.testi-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testi-user {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testi-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff9f43 100%);
    color: var(--text-dark);
    text-align: center;
}

/* Counters */
.counter-box {
    text-align: center;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

footer h4 {
    color: white;
    margin-bottom: 25px;
}

footer .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

footer .social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: transform 0.8s, opacity 0.8s;
}

[data-aos="fade-up"] { transform: translateY(50px); }
[data-aos="fade-in"] { opacity: 0; }
.aos-animate {
    opacity: 1;
    transform: translate(0);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .step-item::after { display: none; }
}
