/* Global Styles */
:root {
    --primary-color: #343a40; /* Dark gray */
    --secondary-color: #212529; /* Darker gray */
    --accent-color: #ffc107; /* Yellow */
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white: #fff;
    --black: #000;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 58px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-subtitle {
    color: #6c757d;
    margin-bottom: 30px;
}

.btn {
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: var(--dark-color);
}

.btn-outline-dark {
    border-color: var(--dark-color);
    color: var(--dark-color);
}

.btn-outline-dark:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    color: var(--white);
}

/* Navigation */
/*.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    padding: 8px 15px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--accent-color);
}

.navbar-dark .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    left: 15px;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .nav-link.active:after {
    width: calc(100% - 30px);
}*/
.navbar-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
}
/* Hero Section */
.hero {
    position: relative;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.6);
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    max-width: 600px;
    left: 10%;
    right: auto;
}

.carousel-caption h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/welding-bg1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0 60px;
    position: relative;
}

.page-header h1 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-img img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    background-color: var(--light-color);
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 24px;
}

/* Courses Preview */
.courses-preview {
    background-color: var(--white);
}

.course-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-img {
    height: 200px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.course-content {
    padding: 20px;
}

.course-content h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.course-content p {
    color: #6c757d;
    margin-bottom: 15px;
}

/* Highlight Program */
.highlight-program {
    background-color: var(--dark-color);
    color: var(--white);
}

.program-badge {
    display: flex;
    align-items: center;
}

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

.program-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.program-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Testimonials */
.testimonials {
    background-color: var(--light-color);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-color);
    height: 100%;
}

.testimonial-author .author-img i {
    color: var(--accent-color);
}

/* CTA Section */
.cta {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Course Detail */
.course-detail-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.course-detail-img {
    height: 300px;
    overflow: hidden;
}

.course-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-detail-content {
    padding: 30px;
}

.course-meta .badge {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding: 5px 10px;
}

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

.course-curriculum li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.course-curriculum li:before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 12px;
}

.eldeko-card {
    border: 2px solid var(--accent-color);
}

.eldko-badge {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* Gallery */
.gallery-grid {
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.gallery-item img {
    transition: all 0.3s ease;
    width: 100%;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    text-align: center;
    color: var(--white);
    padding: 20px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* Contact Form */
.contact-form-card {
    background-color: var(--white);
    border-radius: 8px;
}

.form-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.form-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.contact-info .info-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-info .info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info .info-content h5 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

/* Map */
.map-section {
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
}

.footer a {
    color: var(--white);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .carousel-caption {
        bottom: 100px;
    }
    
    .carousel-caption h1 {
        font-size: 36px;
    }
}

@media (max-width: 767.98px) {
    .carousel-caption {
        bottom: 80px;
        left: 5%;
        right: 5%;
        max-width: 90%;
    }
    
    .carousel-caption h1 {
        font-size: 28px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-caption {
        bottom: 60px;
    }
    
    .carousel-caption h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 8px 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
}