/* Stelmon Technologies Website Styles */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #DC2626;
    --dark-color: #1E3A8A;
    --light-color: #F8FAFC;
    --text-color: #334155;
    --text-light: #64748B;
    --border-color: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.btn {
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-enroll {
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    padding: 8px 20px;
}

.btn-enroll:hover {
    background-color: var(--secondary-color);
    color: white;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Navigation */
.navbar {
    background-color: var(--dark-color);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-text {
    margin-left: 10px;
    color: white;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2D4FA9 100%);
    color: white;
    padding: 100px 0 60px; /* More compact padding */
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.7;
}

/* About Stats */
.about-stats .stat-box {
    background: white;
    box-shadow: var(--shadow);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.about-stats .stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-light);
    font-weight: 500;
}

/* Course Cards */
.course-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-card .card-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2D4FA9 100%);
    color: white;
    padding: 30px 20px 20px;
    border: none;
    position: relative;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.course-card .card-body {
    padding: 25px;
}

.course-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.course-card .card-text {
    color: var(--text-light);
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-meta span {
    display: flex;
    align-items: center;
}

.course-meta i {
    margin-right: 5px;
}

.course-card .card-footer {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 20px 25px;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-card h5 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    box-shadow: var(--shadow);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    color: var(--text-color);
    font-style: italic;
}

.testimonial-author .author-avatar {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L1000,0 L1000,1000 L0,1000 Z"></path></svg>');
    background-size: cover;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer h5 {
    margin-bottom: 20px;
    color: white;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2D4FA9 100%);
    color: white;
    padding: 120px 0 80px;
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    background: white;
    box-shadow: var(--shadow);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-icon, .vision-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Value Cards */
.value-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: -30px;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-left: 40px;
}

.timeline-content h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Instructor Cards */
.instructor-card {
    background: white;
    box-shadow: var(--shadow);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.instructor-avatar {
    color: var(--primary-color);
}

.instructor-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--text-color);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.instructor-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Course Filters */
.course-filters {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card .card-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card .card-title {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

/* Process Steps */
.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-color);
    z-index: 1;
}

.process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.step-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex-grow: 1;
}

.step-content h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Contact Info */
.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-color);
    color: var(--text-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Map Section */
.map-container {
    height: 400px;
    position: relative;
}

.placeholder-map {
    height: 100%;
    width: 100%;
}

/* Enrollment Form */
.enrollment-form {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.step-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Course Sidebar */
.course-sidebar .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

/* Accordion */
.accordion-button {
    font-weight: 500;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-color);
    color: var(--dark-color);
    box-shadow: none;
}

.accordion-body {
    padding: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-date {
        left: -15px;
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        margin-left: 30px;
    }
    
    .process-steps::before {
        left: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        margin-right: 20px;
    }
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.1), rgba(255, 107, 53, 0.1));
    z-index: 1;
    border-radius: 15px;
}

/* Ensure image doesn't break on mobile */
@media (max-width: 768px) {
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-image img {
        max-height: 300px;
        object-fit: cover;
    }
}




/* White Navbar Styles, remove if you want dark blue background*/
.navbar {
    background-color: white !important;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-text {
    margin-left: 10px;
    color: var(--dark-color) !important; /* Dark color for brand text */
}

/* Navigation Links - Dark Color */
.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}


/* Blue accent version */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--dark-color) !important;
    background-color: rgba(30, 58, 138, 0.1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Enroll Now Button - Stand Out */
.btn-enroll {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
    border-radius: 8px;
    padding: 10px 24px !important;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-left: 10px;
}

.btn-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white !important;
}

/* Navbar Toggler for Mobile */
.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 58, 138, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
        padding: 12px 20px !important;
    }
    
    .btn-enroll {
        margin: 10px 0 0 0;
        text-align: center;
        display: block;
    }
}

/* Optional: Add subtle animation to navbar on scroll */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar {
    animation: slideDown 0.5s ease;
}