* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*----- header section-----*/

#nav-bar {
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar {
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    padding: 0 !important;
}

.navbar-brand img {
    height: 33px;
    padding-left: 20px;
}

.navbar-nav li {
    padding: 0 10px;
}

.navbar-nav li a {
    color: #fff !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.navbar-nav li a:hover {
    color: #462AF0 !important;
    transform: scale(1.1);
}

.fa-bars {
    color: #fff;
    font-size: 30px;
}

.navbar-toggler {
    outline: none !important;
    border: none !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: linear-gradient(to right, #9EEFE1, #462AF0);
    border: none;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    animation: dropdownFade 0.3s ease;
}

.dropdown-item {
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 2px 0;
    position: relative;
    overflow: hidden;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    color: #fff !important;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #fff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submenu */
/* Submenu container for LEADBOARD */
.dropdown-submenu {
  position: relative;
}

/* Position submenu to the right of LEADBOARD item */
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.125rem;
}

/* Optional: open submenu on hover on large screens */
@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

/*------------ Banner -------------*/

.banner {
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    color: #fff;
    padding-top: 5%;
}

.promo-title {
    font-size: 40px;
    font-weight: 600;
}

.banner .btn-primary {
    border-radius: 20px !important;
    width: 86% !important;
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.banner .btn-primary:hover {
    transform: translateY(-3px);
    background-color: #462AF0;
    background-image: none;
}

.banner-img img {
    width: 76%;
    height: 84%;
}

.bottom-img {
    width: 100%;
}

/*------ services ------*/

#services {
    padding: 45px 0;
}

.section {
    padding: 45px 0;
}

.service-image {
    width: 160px;
    margin-top: 20px;
    transition: transform 0.3s ease-in-out;
}

.service-image:hover {
    transform: scale(1.1);
}

.services {
    padding: 20px;
}

.services h4 {
    padding: 5px;
    margin-top: 15px;
}

.title {
    color: #462AF0;
    opacity: 0;
    animation: slideIn 1.5s ease-out forwards;
}

@keyframes slideIn {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.title::before {
    content: '';
    background: #9EEFE1;
    height: 5px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transform: translateY(63px);
    border-radius: 10px;
}

.title::after {
    content: '';
    background: #9EEFE1;
    height: 10px;
    width: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    display: block;
    transform: translateY(8px);
    border-radius: 10px;
}

/* .pst-button {
    box-shadow: none;
    padding: 8px 25px;
    border: none;
    border-radius: 25px;
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    transition: background-color 0.3s ease;
    color: #fff;
    margin: 40px;
}

.pst-button:hover {
    background-color: #462AF0;
    background-image: none;
} */

.pst-button {
    box-shadow: none;
    padding: 8px 25px;
    border: none;
    border-radius: 25px;
    background-image: linear-gradient(45deg, #2c3e50, #3498db);
    transition: background-color 0.3s ease;
    color: white;
    margin: 40px;
}

.pst-button:hover {
   background: linear-gradient(45deg, #3498db, #2c3e50);
            color: white;
            transform: scale(1.05);
}

/*---------footer---------*/

#footer {
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    color: #fff;
}

.footer-img {
    width: 100%;
    transform: scaleY(-1);
}

.footer-box {
    padding: 20px;
    color: black;
    animation: floatUp 1.5s ease-in-out infinite alternate;
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.footer-box .footer-title {
    font-size: 20px;
    font-weight: 600;
}

.footer-logo-img {
    width: 170px;
    margin-bottom: 20px;
}

.footer-box .contact-us i {
    margin-right: 8px;
    font-size: 25px;
    height: 40px;
    width: 40px;
    text-align: center;
    padding-top: 7px;
    border-radius: 2px;
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    color: #fff;
}

.social-buttons {
    display: flex;
}

.social-buttons img {
    width: 30px;
    height: 30px;
    margin: 10px;
}

.footer-box .links li a {
    text-decoration: none;
    color: black;
}

.footer-box .links li {
    list-style-type: none;
    padding: 9px;
}

.footer-box .quick-links {
    display: flex;
}

hr {
    background-color: #fff;
}

.copyright {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 0;
}

/*----------- team -----------*/

#team .card {
    width: 17rem;
    margin-top: 10vmin;
    box-shadow: 0px 0px 10px 0px rgba(80, 60, 40, 0.5);
}

#team .card .card-text {
    padding: 0.5em;
}

#team .card .card-body>a {
    font-size: 1.5em;
}

.border-radius {
    border-radius: 340px;
    width: 60%;
}

/*------ gallery section ------*/
#gallery {
    background-color: #f4f4f9;
}

#gallery .title {
    animation: slideIn 1.5s ease-out forwards;
}

#gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

#gallery .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#gallery .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#gallery .gallery-item:hover img {
    transform: scale(1.1);
}

#gallery .gallery-item .caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 5px;
    display: none;
}

#gallery .gallery-item:hover .caption {
    display: block;
}

#gallery .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#gallery .col-md-4 {
    padding: 10px;
}

/* courses */
.course-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    img {
        height: 200px;
    }
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.card-title {
    color: #007bff;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    text-align: center;
    background-color: #f8f9fa;
}

/* ----- tutorials section ----- */
    /* #tutorials {
        background-color: #f4f4f9;
    } */

/* #tutorials .title {
    animation: slideIn 1.5s ease-out forwards;
} */

#tutorials .tutorial-item {
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

#tutorials .tutorial-item:hover {
    transform: scale(1.05);
}

#tutorials iframe {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* #tutorials .tutorial-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
    color: #462AF0;
} */

/* Responsiveness for small screens */
@media (max-width: 768px) {
    #tutorials .row {
        flex-direction: column;
        align-items: center;
    }

    #tutorials .col-md-4 {
        width: 100%;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    #tutorials iframe {
        width: 100%;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}





.stylish-dropdown {
    background: linear-gradient(to right, #343a40, #1d2124);
    /* Dark modern gradient */
    border-radius: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    padding: 5px 0;
}

.stylish-dropdown .dropdown-item {
    color: #fff;
    padding: 10px 15px;
    font-weight: 500;
    transition: background 0.3s ease-in-out;
}

.stylish-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    /* Subtle hover effect */
    color: #f0ad4e;
    /* Gold accent */
}

/* Alumni Section Styles */
#alumni {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#alumni .title {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

#alumni .subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.alumni-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.alumni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.company-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.company-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.alumni-card:hover .company-logo img {
    filter: grayscale(0%);
}

.alumni-info h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.alumni-info .role {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.alumni-info .company {
    color: #004aad;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.achievement {
    background: linear-gradient(to right, #9EEFE1, #462AF0);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.achievement i {
    font-size: 1.1rem;
}

#alumni .pst-button {
    background: linear-gradient(to right, #9EEFE1, #462AF0);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}

#alumni .pst-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(70, 42, 240, 0.3);
}

@media (max-width: 768px) {
    #alumni .title {
        font-size: 2rem;
    }
    
    .alumni-card {
        margin-bottom: 30px;
    }
    
    .company-logo {
        width: 100px;
        height: 100px;
    }
}

/* Company Logos Section Styles */
#companies {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

#companies .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
}

.companies-carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 30px 0;
    background: #fff;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.companies-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.companies-track {
    display: flex;
    width: calc(300px * 9);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    animation: scroll 30s linear infinite;
}

.company-logo {
    flex: 0 0 300px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin: 0 10px;
}

.company-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.company-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 6));
    }
}

.companies-track:active {
    cursor: grabbing;
}

.companies-track:hover {
    animation-play-state: paused;
}

/* Add gradient overlays for smooth fade effect */
.companies-carousel::before,
.companies-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.companies-carousel::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.companies-carousel::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* Add responsive styles */
@media (max-width: 768px) {
    .companies-track {
        width: calc(250px * 9);
    }
    
    .company-logo {
        flex: 0 0 250px;
        height: 100px;
    }
    
    .company-logo img {
        max-height: 60px;
    }
}

@media (max-width: 576px) {
    .companies-track {
        width: calc(200px * 9);
    }
    
    .company-logo {
        flex: 0 0 200px;
        height: 80px;
    }
    
    .company-logo img {
        max-height: 50px;
    }
}

/* Testimonials Section Styles */
#testimonials {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.testimonials-carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    margin: 30px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.testimonials-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.testimonials-track {
    display: flex;
    width: fit-content;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    animation: scroll 25s linear infinite;
}

.testimonial-card {
    min-width: 350px;
    margin: 0 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    padding: 25px;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.author-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 4));
    }
}

.testimonials-track:active {
    cursor: grabbing;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        min-width: 300px;
    }
}

/* Gallery Page Styles */
.gallery-filter {
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: 2px solid #007bff;
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 25px;
    color: #007bff;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007bff;
    color: white;
}

.gallery-container {
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

/* Load More Button Styles */
.load-more-container {
    margin: 30px 0;
}

.load-more-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.load-more-btn i {
    margin-right: 8px;
}

.load-more-btn:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hidden Gallery Items */
.gallery-item.hidden {
    display: none;
}

/* Gallery Hero Section */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/gallary_pic5.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.gallery-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Gallery Categories */
.gallery-categories {
    padding: 20px 0;
    background: #f8f9fa;
    margin-bottom: 50px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-tab {
    background: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-tab i {
    margin-right: 8px;
    color: #4a90e2;
}

.category-tab:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-2px);
}

.category-tab:hover i {
    color: white;
}

.category-tab.active {
    background: #4a90e2;
    color: white;
}

.category-tab.active i {
    color: white;
}

/* Gallery Grid */
.gallery-grid {
    padding: 50px 0;
}

.gallery-card {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2.5rem;
    }
    
    .gallery-hero p {
        font-size: 1rem;
    }
    
    .category-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .gallery-info h4 {
        font-size: 1.1rem;
    }
    
    .gallery-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .gallery-hero {
        padding: 60px 0;
    }
    
    .gallery-hero h1 {
        font-size: 2rem;
    }
    
    .category-tabs {
        gap: 10px;
    }
    
    .category-tab {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .load-more-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}