* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: poppins, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #111827;
    background: #ffffff;
    line-height: 1.6;
}
.img-logo{
    display: block;
    margin: 0 auto 20px;
    border-radius: 20%;
}
.navbar {
    background: #49c9e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-bottom: -5px;
    
}
.nav-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: #ffffff;
    display: flex; align-items: center; justify-content: center;
    color: #000000; 
    font-size: 10px;
  }

.nav-link:hover,
.nav-link.active {
    color: #6b7280;
}

.nav-link:hover {
    color: #151616;
    transform: translateY(-2px);
    border-bottom: 3px solid #0d9488;
    text-decoration: #0d9488;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.user-btn:hover {
    background: #e5e7eb;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgb(21, 16, 16);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 20px;
}

.dropdown-header h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.dropdown-header p {
    font-size: 14px;
    color: #6b7280;
}

.dropdown-divider {
    height: 1px;
    background: #0a0a0a;
}

.dropdown-item {
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    transition: background 0.3s;
}

.dropdown-item:hover {
    background: #f3f4f6;
}

.logout-btn {
    color: #ef4444;
    border-radius: 0 0 12px 12px;
}

.hero-section {
    padding: 100px;
    background: linear-gradient(132deg, #fbedec,#0fafdb, #2580e1,#0015ff,#1601ff,#4a6370);
  background-size: 400% 400%;
  animation: BackgroundGradient 15s ease infinite;
    position: relative;}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@keyframes BackgroundGradient {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.cursor{
    position: relative;
    width: 24em;
    margin: 0 auto;
    text-align: center;
    border-right: 2px solid rgba(229, 227, 232, 0.75);
    font-size: 30px;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);    
}
.typewriter-animation {
  animation: 
    typewriter 5s steps(50) 1s 1 normal both, 
    blinkingCursor 500ms steps(50) infinite normal;
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 70%; }
}
@keyframes blinkingCursor{
  from { border-right-color: rgba(12, 12, 12, 0.75); }
  to { border-right-color: transparent; }
}
.hero-title {
    text-align: center;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 50px;
    margin-top: 80px;
    color: #111827;
}

.hero-description {
    text-align: center;
    font-size: px;
    color: #111111;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: #111827;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: #10b981;
    color: #10b981;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 14px;
    color: #6b7280;
}

.hero-illustration {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.illustration-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.main-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 28px;
}

.main-card h3 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
}

.main-card p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.progress-item span {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 4px;
}

.success-card {
    background: #1f2937;
    color: #ffffff;
}

.success-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metric-value {
    font-size: 36px;
    font-weight: 800;
}

.metric-label {
    font-size: 14px;
    opacity: 0.8;
}

.courses-section {
    padding: 80px 2rem;
    background: #ffffff;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.course-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    text-decoration: none;
    color: #111827;
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.course-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.course-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.course-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.course-icon.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.course-icon.red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.course-icon.yellow { background: linear-gradient(135deg, #eab308, #ca8a04); }
.course-icon.teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.course-icon.indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.course-icon.pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.course-icon.cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.course-icon.gray{background: linear-gradient(135deg, #374151, #1f2937);}
.course-icon.brown{background: linear-gradient(135deg, #a16207, #854d0e);}  

.course-icon i {
    font-size: 28px;
    color: #ffffff;
}

.course-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Quote Section */
.quote-section {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
}

.quote-card {
    text-align: center;
    color: #ffffff;
}

.quote-icon {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 20px;
}

.quote-card h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.quote-text {
    font-size: 24px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.quote-author {
    font-size: 18px;
    color: #10b981;
    font-weight: 600;
}

.footer {
    background: #1f2937;
    color: #ffffff;
    padding: 60px 2rem 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    width: 180px;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #9ca3af;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
    }
    .img-logo{
        margin-bottom: 100px;
    }
}
@media (max-width: 768px) {

    .nav-container{
        padding: 12px 15px;
    }

    .nav-menu{
        display: flex;
        gap: 8px;
    }

    .nav-link{
        margin-right: 0;
        font-size: 14px;
        padding: 6px 10px;
    }

    .brand-name{
        font-size: 16px;
    }
}
@media (max-width:768px){

    .hero-section{
        padding: 80px 20px;
    }
.hero-title{
        font-size: 28px;
        line-height: 1.3;
    }

    .cursor{
        white-space: normal;
        width: 100%;
        border-right: none;
    }
    .hero-title{
        font-size: 28px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .cursor{
        width: 100%;
        font-size: 24px;
        white-space: normal;
        border-right: none;
    }

    .typewriter-animation{
        animation: none;
    }
}