* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #012740;
    --primary-dark: #004370;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #e2e8f0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: white;
    color: white;
    /* padding: 20px 0; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: #ffd43b;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #ffd43b;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid black;
    color: black;
}

.btn-outline:hover {
    border: 2px solid white;
    background: var(--primary);
    color: white;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent);
    color: white;
}

/* Hero Section */
.hero {
    /* background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(139, 92, 246, 0.85)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1200&q=80'); */
    background: linear-gradient(rgba(16, 49, 84, 0.85), rgba(87, 162, 213,  0.9)), url('https://www.procurementinet.org/wp-content/uploads/2025/02/Banner7.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 24px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-large {
    padding: 15px 35px;
    font-size: 18px;
}

/* Courses Section */
.section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    /* margin-bottom: 60px; */
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* NEW TRENDING COURSES SECTION */
.trending-courses {
    background-color: #f8fafc;
    padding-top: 10px;
    /* padding: 60px 0; */
}

.trending-header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    margin-bottom: 40px;
    border-radius: 12px;
}

.trending-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.trending-header .subheading {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.category {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.level {
    display: inline-block;
    background: #e9f0ff;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0px;
}

.pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.free-badge {
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.card-body {
    padding: 20px 20px 0px 20px;
}

.course-title {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--dark);
}

div.others .course-title {
    font-weight: 600;
}

.date {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    gap: 8px;
}

.date i {
    margin-right: 8px;
    color: var(--primary);
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.stars {
    color: #FFC107;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-right: 10px;
}

.rating-value {
    font-weight: 600;
    color: var(--dark);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 20px 0;
}

.stats {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-item i {
    margin-right: 8px;
    color: var(--primary);
}

.expert-badge {
    background: #FF9800;
    color: white;
}

.development-bg {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.business-bg {
    background: linear-gradient(135deg, #2196F3, #0d7cd2);
}

.dance-bg {
    background: linear-gradient(135deg, #9C27B0, #7b1fa2);
}

.color-bar {
    height: 5px;
}

/* Benefits Section */
.benefits {
    background-color: #f1f5f9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* NEW ABOUT US SECTION */
.about-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(139, 92, 246, 0.8));
    z-index: 1;
    opacity: 0.7;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.stat-box i {
    font-size: 36px;
    margin-bottom: 15px;
    color: #ffd43b;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mv-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-card h3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.mv-card h3 i {
    margin-right: 12px;
    font-size: 24px;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
}

.newsletter-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #0891b2;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    /* padding: 60px 0 30px; */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        
    }
    .card-body{
        padding-bottom: 20px;
    }
    .auth-buttons{
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .trending-header h1 {
        font-size: 2rem;
    }
    
    .trending-header .subheading {
        font-size: 1rem;
    }
    
    .courses-container {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 30px;
        padding: 15px;
        width: 100%;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.visual-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.main-images {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.study-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.rating-card {
    top: -20px;
    right: -30px;
    flex-direction: column;
    text-align: center;
    min-width: 120px;
}

.rating-stars {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 4px;
}

.rating-number {
    font-weight: 700;
    font-size: 20px;
    color: #333;
    margin-bottom: 2px;
}

.rating-text {
    font-size: 12px;
    color: #666;
}

.course-card {
    bottom: -20px;
    left: -30px;
    background: white;
    color: #333;
}

.course-icon {
    width: 30px;
    height: 30px;
    background: #333;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.course-info {
    display: flex;
    flex-direction: column;
}

.course-number {
    font-weight: 700;
    font-size: 18px;
}

.course-label {
    font-size: 12px;
    opacity: 0.8;
}

.badge-card {
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    background: #6366f1;
    color: white;
    border-radius: 50px;
    padding: 12px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.badge-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.text-content {
    padding-left: 20px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0e7ff;
    color: #6366f1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.section-badge::before {
    content: "📚";
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.main-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.instructor-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.instructor-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 700;
}

.instructor-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.instructor-role {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 12px;
}

.instructor-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.instructor-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #6366f1;
    font-weight: 500;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card:nth-child(3) {
    animation-delay: -1s;
}

.floating-card:nth-child(4) {
    animation-delay: -2s;
}

/* New About Us Section*/

.section-header1 {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header1 .subtitle1 {
    display: inline-block;
    background-color: gold;
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.section-header1 h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.section-header1 h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header1 p {
    color: var(--gray);
    font-size: 1.2rem;
    margin-top: 40px;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-section {
        gap: 60px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0px 15px;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .text-content {
        padding-left: 0;
        order: 2;
    }
    
    .visual-content {
        order: 1;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .instructor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .instructor-stats {
        justify-content: center;
    }
    
    .floating-card {
        position: static;
        margin: 10px 0;
        animation: none;
    }
    
    .badge-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .instructor-section {
        padding: 30px 20px;
    }
    
    .stat-card {
        padding: 30px 15px;
    }
}

/* Reset some default spacing */   
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    background-color: #fff;
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.card-text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Responsive design */
@media (max-width: 768px) {
    .section-header1 h2 {
        font-size: 1.8rem;
    }
    .main-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
}
