/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #fafafa;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

p, li, span {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

/* Hero Banner */
.jbh-hero-banner {
    background: linear-gradient(135deg, #39cfca 0%, #2ba8a4 100%);
    height: 60vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 4vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.jbh-hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    margin-top: 2rem;
    animation: fadeInDown 1s;
}

.jbh-breadcrumb a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.jbh-breadcrumb a:hover {
    color: #39cfca;
}

/* Main Container */
.jbh-container, .abt-container, .jbtech-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

/* About Section */
.jbh-about-section {
    display: flex;
    margin-bottom: 5rem;
    padding: 0 9vw;
    background-color: #f1f9ff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.jbh-about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(57, 207, 202, 0.2);
}

.jbh-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #39cfca, #2ba8a4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.jbh-about-section:hover::before {
    transform: scaleX(1);
}

.jbh-image-section {
    position: relative;
    padding: 2rem;
    display: flex;
    width: 50%;
}

.jbh-content-section {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jbh-main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.jbh-sub-image {
    position: absolute;
    width: 50%;
    right: 10px;
    bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.jbh-about-section:hover .jbh-main-image, 
.jbh-about-section:hover .jbh-sub-image {
    transform: scale(1.05);
}

.jbh-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    padding-bottom: 0.8rem;
}

.jbh-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #39cfca;
    transition: width 0.3s ease;
}

.jbh-about-section:hover .jbh-title::after {
    width: 120px;
}

.jbh-paragraph {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

.jbh-about-section:hover .jbh-paragraph {
    transform: translateX(5px);
}

.jbh-button, .abt-contact-btn {
    margin-top: 1.5rem;
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #39cfca 0%, #2ba8a4 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(57, 207, 202, 0.3);
}

.jbh-button:hover, .abt-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(57, 207, 202, 0.4);
    background: linear-gradient(135deg, #2bbab5 0%, #1f8d8a 100%);
}

/* Courses Section */
.jbh-courses-container {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    margin: 5rem auto;
    padding: 0 15px;
}

.jbh-section-title, .jbtech-section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.jbh-section-title::after, .abt-section-header::after, .jbtech-section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #39cfca, #2ba8a4);
    transition: width 0.3s ease;
}

.jbh-courses-container:hover .jbh-section-title::after,
.jbh-why-title:hover h2::after {
    width: 150px;
}

.jbh-courses-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.jbh-course-card, .jbtech-card {
    background-color: white;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    width: 300px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.jbh-course-card::before, .jbtech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #39cfca, #2ba8a4);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.jbh-course-card:hover::before, .jbtech-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.jbh-course-card:hover, .jbtech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(57, 207, 202, 0.2);
}

.jbh-course-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #39cfca 0%, #2ba8a4 100%);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.jbh-course-card:hover .jbh-course-icon {
    transform: scale(1.1) rotate(10deg);
}

.jbh-course-icon i {
    font-size: 2rem;
    color: white;
}

.jbh-course-title {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.jbh-course-card:hover .jbh-course-title {
    color: #39cfca;
}

.jbh-course-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Why Choose Us Section */
.jbh-why-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.jbh-why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.jbh-why-title {
    text-align: center;
    margin-bottom: 3rem;
}

.jbh-why-title h2 {
    font-size: 2.5rem;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.jbh-why-title h2 span {
    color: #39cfca;
}

.jbh-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.jbh-benefit-card {
    background-color: #f1f9ff;
    border-radius: 10px;
    padding: 2rem;
    width: calc(50% - 2rem);
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.jbh-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(57, 207, 202, 0.1) 0%, rgba(57, 207, 202, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.jbh-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(57, 207, 202, 0.2);
}

.jbh-benefit-card:hover::before {
    opacity: 1;
}

.jbh-benefit-icon {
    font-size: 2.5rem;
    color: #39cfca;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.jbh-benefit-card:hover .jbh-benefit-icon {
    transform: scale(1.1) rotate(10deg);
    color: #2ba8a4;
}

.jbh-benefit-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    transition: color 0.3s ease;
}

.jbh-benefit-card:hover .jbh-benefit-title {
    color: #39cfca;
}

.jbh-benefit-description {
    color: #666;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

.jbh-benefit-card:hover .jbh-benefit-description {
    transform: translateX(5px);
}

/* Footer */
.jbh-footer {
    background: linear-gradient(135deg, #333 0%, #222 100%);
    color: white;
    padding: 4rem 0 1rem;
}

.jbh-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.jbh-footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.jbh-footer-card {
    flex: 1;
    min-width: 250px;
}

.jbh-footer-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.jbh-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #39cfca;
    transition: width 0.3s ease;
}

.jbh-footer-card:hover .jbh-footer-heading::after {
    width: 80px;
}

.jbh-footer-text {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.jbh-footer-text span {
    color: #39cfca;
}

.jbh-footer-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #39cfca 0%, #2ba8a4 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.jbh-footer-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.jbh-explore-links {
    list-style: none;
}

.jbh-explore-links li {
    margin-bottom: 0.8rem;
}

.jbh-explore-links li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.jbh-explore-links li a:hover {
    color: #39cfca;
    transform: translateX(5px);
}

.jbh-contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.jbh-contact-info span {
    color: #39cfca;
    margin-right: 0.5rem;
    font-weight: bold;
}

.jbh-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.jbh-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jbh-social a:hover {
    background-color: #39cfca;
    transform: translateY(-3px);
}

.jbh-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Me Section */
.c1 {
    padding: 0 10vw;
    display: flex;
}

.abt-section-header {
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.abt-content h1 {
    color: black;
    font-size: 1.4vw;
}

.abt-content {
    color: #666;
    margin-bottom: 20px;
}

.abt-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.hover-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.hover-card:hover {
    box-shadow: 0 8px 25px rgba(57, 207, 202, 0.3);
    transform: translateY(-5px);
}

.card-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    color: #666;
    background-color: #f8f8f8;
}

.card-preview-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #39cfca;
}

.card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(57, 207, 202, 0.9);
    color: white;
    padding: 15px;
    transition: all 0.3s ease;
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hover-card:hover .card-title {
    transform: translateY(-100%);
}

.hover-card:hover .card-content {
    transform: translateY(0);
}

.hover-card:hover .card-preview {
    opacity: 0;
}

/* Faculty Section */
.jbtech-logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.jbtech-logo {
    max-width: 200px;
    height: auto;
    transition: all 0.3s ease;
}

.jbtech-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.jbtech-section-header p {
    color: #666;
    font-size: 18px;
}

.jbtech-faculty-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.jbtech-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 280px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(57, 207, 202, 0.2);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.jbtech-profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #39cfca;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(57, 207, 202, 0.3);
}

.jbtech-card:hover .jbtech-profile-img {
    transform: scale(1.05);
}

.jbtech-info {
    padding: 10px 0;
    position: relative;
}

.jbtech-info h3 {
    margin-bottom: 5px;
    font-size: 20px;
    color: #222;
    font-weight: 700;
}

.jbtech-info p {
    color: #444;
    margin: 5px 0;
    font-size: 14px;
    font-weight: 500;
}

.jbtech-info .jbtech-education {
    color: #666;
    font-style: italic;
    margin-bottom: 12px;
}

.jbtech-info .jbtech-teaching-approach {
    background-color: #f5f9fa;
    padding: 10px;
    border-radius: 8px;
    margin: 12px 0;
    border-left: 3px solid #39cfca;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
}

.jbtech-specialty {
    background: linear-gradient(135deg, #39cfca, #2a9d99);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation */
.abt-animate-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.abt-animate-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .jbtech-faculty-container {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .jbh-container, .cc-container, .abt-container {
        padding: 3rem 2rem;
    }
    
    .jbh-hero-banner {
        height: 40vh;
    }
    
    .jbh-hero-title {
        font-size: 2.2rem;
    }
    
    .jbh-about-section {
        flex-direction: column;
        align-items: center;
        padding: 0 5vw;
        width: auto;
    }
    
    .jbh-image-section {
        display: flex;
        justify-content: center;
        padding: 30px 10px;
    }
    
    .jbh-sub-image {
        right: auto;
        left: 55%;
        bottom: 40px;
    }
    
    .jbh-content-section {
        padding: 2rem;
    }
    
    .jbtech-card {
        width: 260px;
    }
    
    .jbh-benefit-card {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 992px) {
    .jbh-about-section {
        flex-direction: column;
    }
    
    .jbh-image-section {
        width: 100%;
        justify-content: center;
        padding: 2rem;
        margin-bottom: 3rem;
        position: relative;
        height: auto;
        min-height: 300px;
    }
    
    .jbh-sub-image {
        right: auto;
        left: 55%;
        bottom: 15%;
        width: 40%;
        max-width: 200px;
    }
}

@media (max-width: 900px) {
    .hover-card {
        height: 260px;
    }
}

@media (max-width: 800px) {
    .abt-content h1 {
        font-size: 1.6rem;
    }
    
    .abt-section-header {
        font-size: 1.1rem;
    }
    
    .abt-contact-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .abt-image {
        max-width: 350px;
    }
    
    .flex {
        flex-direction: column;
    }
    
    .w-full.md\:w-1\/2 {
        width: 100%;
    }
    
    .p-12 {
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .jbh-container, .cc-container, .abt-container {
        padding: 2rem 1.5rem;
    }
    
    .c1 {
        padding: 0 5vw;
    }
    
    .jbh-hero-banner {
        height: 35vh;
    }
    
    .jbh-hero-title {
        font-size: 1.8rem;
    }
    
    .jbh-title {
        font-size: 1.8rem;
    }
    
    .jbh-paragraph {
        font-size: 0.95rem;
    }
    
    .jbh-main-image {
        max-width: 280px;
    }
    
    .jbh-sub-image {
        width: 40%;
        bottom: 50px;
    }
    
    .jbtech-faculty-container {
        flex-direction: column;
        align-items: center;
    }
    
    .jbtech-card {
        width: 100%;
        max-width: 320px;
        margin-bottom: 20px;
    }
    
    .jbtech-section-header h2 {
        font-size: 28px;
    }
    
    .jbtech-section-header p {
        font-size: 16px;
    }
    
    .jbtech-logo {
        max-width: 150px;
    }
    
    .hover-card {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .hover-card {
        height: 280px;
        width: calc(50% - 15px);
        margin: 7.5px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-title {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .jbtech-card {
        width: 100%;
        max-width: 300px;
    }
    
    .jbtech-logo {
        max-width: 120px;
    }
    
    .jbtech-section-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 500px) {
    .jbh-container, .cc-container, .abt-container {
        padding: 1.5rem 1rem;
    }
    
    .jbh-hero-banner {
        height: 30vh;
    }
    
    .jbh-hero-title {
        font-size: 1.5rem;
    }
    
    .jbh-title {
        font-size: 1.5rem;
    }
    
    .jbh-main-image {
        max-width: 220px;
    }
    
    .jbh-sub-image {
        width: 35%;
        bottom: 60px;
    }
    
    .abt-content h1 {
        font-size: 1.4rem;
    }
    
    .abt-section-header {
        font-size: 1rem;
    }
    
    .abt-contact-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .abt-image {
        max-width: 300px;
    }
    
    .hover-card {
        height: 300px;
        width: calc(100% - 20px);
        margin: 10px;
    }
    
    .card-content {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .card-title {
        padding: 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hover-card {
        height: 300px;
        width: calc(100% - 20px);
        margin: 10px;
    }
}

@media (max-width: 400px) {
    .hover-card {
        height: 300px;
        width: calc(100% - 20px);
        margin: 10px;
    }
    
    .card-content {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .card-title {
        padding: 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .jbh-main-image {
        max-width: 180px;
    }
    
    .jbh-sub-image {
        width: 30%;
    }
    
    .hover-card {
        height: 280px;
        width: calc(100% - 16px);
        margin: 8px;
    }
    
    .card-content {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .card-title {
        padding: 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 319px) {
    .hover-card {
        height: 150px;
        width: calc(100% - 12px);
        margin: 6px;
    }
    
    .card-content {
        padding: 8px;
        font-size: 0.8rem;
    }
    
    .card-title {
        padding: 6px;
        font-size: 0.8rem;
    }
}

/* Dropdown Specific */
.jbh-subdropdown {
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(223, 231, 230) rgba(57, 207, 202, 0.1);
}