


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.badge {
    background-color: #000;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
    color:#000;
}

.hero-title .highlight {
    color: #3182ed;
}

.hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: #000;
    font-size: 20px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #3182ed;
}

.stat-label {
    color: #000;
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #3182ed, #2563eb);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #3182ed;
    border: 2px solid #3182ed;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 130, 237, 0.3);
}

.btn-outline:hover {
    background: #3182ed;
    color: white;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #000;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 130, 237, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 20px;
}

.floating-cards {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

.floating-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 80px;
}

.floating-card h3 {
    color: #3182ed;
    font-size: 24px;
    margin-bottom: 5px;
}

.floating-card p {
    font-size: 12px;
    color: #666;
}

/* Code Background */
.code-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #00ff88;
    padding: 40px;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.code-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.code-lines {
    position: relative;
    z-index: 1;
}

.code-line {
    margin-bottom: 8px;
    opacity: 0.8;
}

.code-line:nth-child(odd) {
    color: #00bfff;
}

.code-line:nth-child(3n) {
    color: #ff6b6b;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background-color: white;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-badge {
    background-color: #000;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
}

.section-title .highlight {
    color: #3182ed;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(49, 130, 237, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3182ed, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Courses Section */
.courses {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(49, 130, 237, 0.15);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3182ed, #2563eb);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.most-popular {
    background: linear-gradient(135deg, #181818ff, #111111ff);
}

.course-header {
    margin-bottom: 20px;
}

.course-header h3 {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.course-header p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    color: #666;
    font-size: 14px;
}

.course-duration i {
    color: #3182ed;
}

.course-features {
    margin-bottom: 30px;
}

.course-features h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.course-features ul {
    list-style: none;
    padding: 0;
}

.course-features li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.course-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3182ed;
    font-weight: bold;
}

.course-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.course-btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
}

.view-all-courses {
    text-align: center;
    margin-top: 50px;
}

.view-all-courses .btn {
    padding: 15px 40px;
    font-size: 16px;
}

/* About Us Section */
.about-us {
    padding: 100px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(49, 130, 237, 0.15);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3182ed, #2563eb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3182ed, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.about-icon i {
    font-size: 32px;
    color: white;
}

.about-card:hover .about-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(49, 130, 237, 0.3);
}

.about-card h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
}

.about-card p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* MOBILE RESPONSIVE STYLES */

/* Tablet and Mobile */
@media (max-width: 768px) {
    /* Ensure body has proper background */
    body {
        background-color: #f8f9fa !important;
    }
    
    /* Hero Section Mobile Fix */
    .hero {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }
    
    /* Code background mobile fix */
    .code-bg {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
        padding: 20px;
        font-size: 10px;
    }
    
    .floating-cards {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 20px;
    }
    
    .floating-card {
        min-width: 60px;
        padding: 15px;
    }
    
    .floating-card h3 {
        font-size: 18px;
    }
    
    /* Why Choose Us Mobile Fix */
    .why-choose-us {
        background-color: white !important;
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    /* Courses Mobile Fix */
    .courses {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        padding: 60px 0;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-card {
        padding: 25px 20px;
    }
    
    .course-buttons {
        flex-direction: column;
    }
    
    .course-btn {
        min-width: auto;
    }
    
    /* About Us Mobile Fix */
    .about-us {
        background-color: white !important;
        padding: 60px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .about-card {
        padding: 30px 20px;
    }
    
    .about-icon {
        width: 60px;
        height: 60px;
    }
    
    .about-icon i {
        font-size: 24px;
    }
    
    .about-card h3 {
        font-size: 20px;
    }
    
    .about-card p {
        font-size: 14px;
    }
    
    /* Container padding fix */
    .container {
        padding: 0 15px;
    }
    
    /* Section header mobile fix */
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    /* Feature icons mobile fix */
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
}

/* Extra small devices (phones) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .badge, .section-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .code-bg {
        padding: 15px;
        font-size: 9px;
    }
    
    .floating-cards {
        gap: 10px;
    }
    
    .floating-card {
        min-width: 50px;
        padding: 10px;
    }
    
    .floating-card h3 {
        font-size: 16px;
    }
    
    .floating-card p {
        font-size: 10px;
    }
    
    .course-header h3 {
        font-size: 20px;
    }
    
    .course-badge {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
}

/* Ensure all sections have proper backgrounds and no overlay issues */
.hero,
.why-choose-us,
.courses,
.about-us {
    position: relative;
    z-index: 1;
}

/* Remove any unwanted pseudo-elements that might cause black backgrounds */
.hero::after,
.why-choose-us::after,
.courses::after,
.about-us::after {
    content: none !important;
}