/* Custom CSS for Feasible Technologies Website */

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

/* Section Title Styles */
.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: #333;
}

.title-border {
    height: 3px;
    width: 60px;
    background: linear-gradient(to right, #007bff, #00c6ff);
    margin-bottom: 20px;
}

/* Header Styles */
header.bg-light {
    background-color: #ffbf43 !important; /* Yellow header as requested */
    color: #212529;
}

header.bg-light small {
    color: #212529;
    font-weight: 500;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
}

.hero-section .carousel-item {
    height: 600px;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-section .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 30px;
    bottom: 50%;
    transform: translateY(50%);
}

/* Course Card Styles */
.course-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Service Card Styles */
.service-card {
    transition: all 0.3s ease;
    background-color: #fff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.1);
    margin-bottom: 20px;
}

/* Product Card Styles */
.product-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Testimonial Card Styles */
.testimonial-card {
/* Custom CSS for Feasible Technologies Website */

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
    max-width: 100%;
}

html {
    overflow-x: hidden; /* Prevent horizontal scrollbar */
    max-width: 100%;
}

.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Section Title Styles */
.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: #333;
}

.title-border {
    height: 3px;
    width: 60px;
    background: linear-gradient(to right, #007bff, #00c6ff);
    margin-bottom: 20px;
}

/* Header Styles */
header.bg-light {
    background-color: #ffc107 !important; /* Yellow header as requested */
    color: #212529;
    width: 100%;
    padding: 8px 0;
}

header.bg-light small {
    color: #212529;
    font-weight: 500;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff !important;
    padding: 10px 0;
    width: 100%;
}

.navbar-toggler {
    border-color: #333;
}

.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%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    max-width: 70%;
}

.navbar-brand img {
    max-height: 45px;
    background-color: #fff;
    padding: 3px;
    border-radius: 4px;
    margin-right: 10px;
}

.navbar-brand span {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.2;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: #333 !important;
}

.navbar .nav-link:hover {
    color: #007bff !important;
	background: #ffa431;
}

.navbar .nav-link.active {
    color: #007bff !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
}

.hero-section .carousel-item {
    height: 600px;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-section .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 30px;
    bottom: 50%;
    transform: translateY(50%);
}

/* Course Card Styles */
.course-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.course-card .card-img-top {
    height: 160px; /* Reduced from 200px */
    object-fit: cover;
}

/* Service Card Styles */
.service-card {
    transition: all 0.3s ease;
    background-color: #fff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.1);
    margin-bottom: 20px;
}

/* Product Card Styles */
.product-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.product-card .card-img-top {
    height: 160px; /* Reduced from 200px */
    object-fit: cover;
}

/* Testimonial Card Styles */
.testimonial-card {
    background-color: #fff;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Counter Box Styles */
.counter-box {
    background-color: #fff;
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.counter-number {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Footer Styles */
footer {
    background-color: #212529;
}

footer a:hover {
    color: #007bff !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section .carousel-item {
        height: 500px;
    }
    
    .hero-section .carousel-caption {
        bottom: 0;
        transform: none;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .navbar-brand span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-section .carousel-item {
        height: 400px;
    }
    
    .hero-section .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .carousel-caption p {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    .course-card .card-img-top {
        height: 140px;
    }
    
    .product-card .card-img-top {
        height: 140px;
    }
}

/* Animation Styles */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn {
    border-radius: 5px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 105, 217, 0.3);
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 105, 217, 0.3);
}

/* Course Detail Page Styles */
.course-detail-header {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.course-detail-header h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

.course-detail-content {
    padding: 60px 0;
}

.course-detail-sidebar {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

/* Contact Page Styles */
.contact-info-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    display: block;
    width: 100%;
}

.contact-info-card i {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 10px;
    display: block;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Responsive fixes for contact page */
@media (max-width: 768px) {
    .contact-info-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 15px !important;
    }
}

/* About Page Styles */
.about-header {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.about-content {
    padding: 60px 0;
}

.team-member-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member-info {
    padding: 20px;
}

/* FAQ Page Styles */
.faq-header {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.faq-content {
    padding: 60px 0;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 123, 255, 0.25);
}

/* Gallery Page Styles */
.gallery-header {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.gallery-content {
    padding: 60px 0;
}

.gallery-item {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Programming Language Logos */
.language-logo {
    height: 35px; /* Reduced from 40px */
    margin: 8px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.language-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.language-logos-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

/* Fix for any potential overflow issues */
.row {
    margin-left: 0;
    margin-right: 0;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, 
.col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, 
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, 
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    padding-left: 10px;
    padding-right: 10px;
}
