@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --color1: #004AAD;
    --color2: #fff;
    --color3: #85b3f0;
    --color4: #000;
    --color5: #f4f4f4;
    --color6: #FCDF53;
    --text: 'Poppins', sans-serif;
}

* {
    position: relative;
    box-sizing: border-box;
}

html {
    font-size: 12px;
}

body {
    margin: 0;
    padding: 0;
    background: var(--color5);
    font-family: var(--text);
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; */
    accent-color: var(--color1);
}

.strip {
    background-color: var(--color1);
    color: var(--color2);
    padding: 0 10px;
    font-size: .8rem;
}

header {
    background-color: var(--color2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header img {
    max-width: 70px;
    max-height: 70px;
}

a {
    color: var(--color3);
    text-decoration: none;
}

a:hover {
    color: var(--color2);
    background-color: var(--color4);
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn,
button {
    background-color: var(--color1);
    color: var(--color2);
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    max-width: fit-content;
    font-size: 1.2rem;
}

.btn,
.btn2,
.btn3,
button,
a {
    cursor: pointer;
}

.btn2 {
    color: var(--color1);
    border: 1px solid var(--color1);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: fit-content;
    font-size: 1.2rem;
}

.nohover:hover {
    background-color: transparent;
    transform: none;
    padding: 0;
}

.btn3,
a.btn3 {
    background-color: var(--color6);
    color: var(--color4) !important;
    padding: 10px 20px;
    border-radius: 5px;
    max-width: fit-content;
}

.btn:hover,
button:hover,
.btn3:hover {
    background-color: var(--color4);
    transition: all 0.3s ease;
    color: var(--color2) !important;
    transform: scale(1.05);
}

#nav a {
    color: var(--color1);
    font-weight: 500;
    font-size: 1.2rem;
}

#nav a:hover {
    color: var(--color2);
    transition: all 0.3s ease;
}

#nav li:hover .dropdown-menu {
    display: block;
}

#nav li {
    list-style: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--color1);
    padding: 0;
    margin: 10px 0 0 0;
    min-width: 300px;
    border-radius: 5px;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--color2);
    color: var(--color1);
    margin-top: 2px;
    width: 100%;
}

.dropdown-menu a {
    width: 100%;
}

.dropdown-menu li:hover {
    background-color: var(--color1);
    color: var(--color2);
    transition: all 0.3s ease;
}

.header-image {
    background-size: cover;
    background-position: center;
    height: 500px;
    width: 100%;
    margin-bottom: 30px;
}

.side-image {
    background-size: cover;
    background-position: center;
    height: 500px;
    width: 100%;
    border-radius: 10px;
}

.list li {
    list-style-image: url('../img/check.png');
    margin-bottom: 10px;
}




.slider-container {
    position: relative;
    overflow: hidden;
    height: 800px;
    background-color: var(--color1);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
}

.slide.active {
    z-index: 2;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.slide-content {
    position: absolute;
    top: 30%;
    left: 10%;
    /* transform: translate(-50%, -50%);
    text-align: center; */
    text-align: left;
    color: var(--color2);
    gap: 20px;
    align-items: flex-start !important;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.fade {
    animation-name: fade;
    animation-duration: 2s;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1
    }
}

.courses {
    min-height: 500px;
    padding-bottom: 50px;
}

.course {
    background-color: var(--color2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.course img {
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
    aspect-ratio: 16/10;
}

.course h2 {
    height: 100px;
}

.course .course-description {
    height: 100px;
}

.course a {
    line-break: loose;
}

.h {
    font-size: 3rem;
}

.partners {
    padding: 50px 0;
    background: var(--color2);
}

.logos-container {
    overflow: hidden;
    padding: 20px 0;
    background: white;
    margin: 20px 0;
    width: 100%;
}

.logos-slide {
    padding: 20px 0;
}

.logos {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0 20px;
}

.logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin: 0 10px;
}

.right-to-left {
    animation: scrollRight 40s linear infinite;
}

.left-to-right {
    animation: scrollLeft 40s linear infinite;
}

.logos:hover {
    animation-play-state: paused;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.why-choose-us {
    padding: 50px 0;
}

.why-choose-us i,
.why-choose-us h3 {
    color: var(--color1);
}

.reason h3 {
    min-height: 70px;
}

.reason p {
    min-height: 100px;
}

.center {
    text-align: center;
}

.reason {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: var(--color2);
}

.team-member img {
    border-radius: 5px;
    height: 350px;
    max-width: 300px;
    max-height: 350px;
    object-fit: cover;
    object-position: top;
    margin: auto;
    aspect-ratio: 3/4;
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.team-member p {
    font-size: 1rem;
    margin: 0;
}

.team-member {
    padding: 20px;
    background-color: var(--color5);
    margin: 20px;
    border-radius: 10px;
}

.socials {
    font-size: 1.1rem;
}

.team-member .social-links {
    margin: 10px 0;
    font-size: 1.8rem;
}

.light {
    background-color: var(--color2);
}

.color1 {
    color: var(--color1);
}


.team .btn2 {
    margin-top: 20px;
    margin-bottom: 20px;
    min-width: 300px;
    text-align: center;
}

.testimonial-container {
    overflow: hidden;
    padding: 20px 0;
    margin: 20px 0;
    width: 100%;
}

.testimonials-scroll {
    display: flex;
    gap: 20px;
    animation: scrollTestimonials 30s linear infinite;
    padding: 0 20px;
}

.testimonial-slide {
    min-width: 450px;
    max-width: 500px;
    width: 90%;
    padding: 15px;
    margin: 0 10px;
    background-color: var(--color2);
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--color4);
    opacity: .7;
}

.testimonial-slide:hover {
    opacity: 1;
    transition: opacity .3s ease;
}

.testimonial-slide img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.testimonials-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.bg2 {
    background-color: var(--color6);
}

footer {
    min-height: 400px;
    padding-bottom: 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color4);
    font-weight: 600;
    font-size: 1.5rem;
}

.footer-links a:hover {
    color: var(--color1);
    transition: all 0.5s ease;
    background-color: transparent !important;
    padding: 0 10px;
}

.copyright-strip {
    text-align: center;
    padding: 20px 0;
    background-color: var(--color1);
    color: var(--color2);
    position: absolute;
    bottom: 0;
}

.copyright-strip p {
    margin: 0;
}

.testimonial-text {
    font-size: 1.2rem;
    margin: 10px 0;
}

.testimonial-name {
    font-size: 1.5rem;
    margin: 10px 0;
}

.footer-contact * {
    color: var(--color4);
    font-size: 1.5rem;
    line-height: 2;
}

footer h3 {
    font-size: 2rem;
}

.padding-section {
    padding: 50px 0;
}

@keyframes height {
    0% {
        height: 0;
    }

    100% {
        height: fit-content;
    }
}

.badge {
    background-color: var(--color3);
    color: var(--color2);
    padding: 5px 10px;
    border-radius: 5px;
    width: fit-content;
    font-size: .9rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 5px 0 !important;
}

.team .content {
    align-items: start;
}

.team h3 {
    height: 70px;
}

.team .position {
    height: 50px;
    font-size: .9rem;
}

.video-item h3 {
    height: 70px;
}

.video-item p {
    height: 130px;
}

.video-grid {
    padding: 10px;
}

.video-wrapper iframe {
    aspect-ratio: 16/9;
    height: fit-content;
}

.yt {
    color: red;
    border-color: red;
}

.yt:hover {
    background-color: red;
    color: var(--color2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--color2);
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: var(--color4);
    background: none;
    padding: 0;
}

.get-started-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 500;
    font-size: .8rem;
    color: var(--color4);
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color1);
}

/* admin login */
.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--color5);
    padding: 20px;
}

.admin-login-form {
    background: var(--color2);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.admin-login-form h1 {
    color: var(--color1);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color4);
    font-weight: 500;
}

.admin-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.admin-form-group input:focus {
    outline: none;
    border-color: var(--color1);
}

.admin-login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--color1);
    color: var(--color2);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.admin-login-btn:hover {
    background-color: var(--color4);
}

.admin-logo {
    text-align: center;
    margin-bottom: 20px;
}

.admin-logo img {
    max-width: 100px;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.sidebar {
    background-color: var(--color2);
    color: var(--color1);
    height: 100vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-content-header {
    background-color: var(--color2);
    color: var(--color1);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    flex-grow: 1;
}

.sidebar-menu ul {
    margin: 0;
    padding: 0;
    /* text-align: left; */
    margin-top: 100px;
    border-top: solid 1px var(--color1);
}

.sidebar-menu li a {
    text-align: left;
    margin: 0;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    padding: 15px;
    color: var(--color1);
    border-radius: 0;
    display: flex;
    align-items: center;
    background-color: var(--color2);
    border-bottom: solid 1px var(--color1);
    border-collapse: separate;
    font-size: 1.3rem;
}

.sidebar-menu li a:hover {
    background-color: var(--color4);
    color: var(--color2);
}

.sidebar-hide .sidebar-menu span,
.sidebar-hide h3 {
    display: none;
}

.sidebar-hide img {
    min-width: 50px;
}

.sidebar-hide {
    max-width: 50px;
    transition: all 0.3s ease;
}

.padding10 {
    padding: 10px;
}

.card {
    background-color: var(--color2);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.card-header {
    color: var(--color1);
}

.card-body {
    color: var(--color4);
}

.card-title {
    font-size: 3rem;
}

/* Admin Panel Styles */
.main-container {
    min-height: 100vh;
    background-color: #f5f5f5;
}

.main-content {
    /* background-color: #fff; */
    min-height: 100vh;
    flex-grow: 1;
    align-self: flex-start;
    align-items: flex-start !important;
}

.content {
    padding: 20px;
}

/* Header Styles */
.header {
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex !important;
    flex-grow: 1;
}

.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.header .dropdown-menu {
    display: none;
    position: absolute;
    top: 77%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
}

.user-profile:hover .dropdown-menu {
    display: block;
}

.header .dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table tr:hover {
    background-color: #f5f5f5;
}

/* Button Styles */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

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

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-info {
    background-color: #17a2b8;
    color: #fff;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 50%;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Alert Styles */
.alert {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Status Badge */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.inactive {
    background-color: #f8d7da;
    color: #721c24;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination a.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    /* border-bottom: 1px solid #ddd; */
}

.data-table th {
    background-color: #f8f9fa;
}

a.card:hover {
    background-color: var(--color4);
    color: var(--color2);
}

a.card:hover * {

    color: var(--color2);
}

.link {
    color: var(--color1);
    text-decoration: none;
}

.link:hover {
    color: var(--color4);
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 0 10px;
}

.data-table th,
.data-table tr {
    border-bottom: 1px solid #ddd;
}

.gap10 {
    gap: 10px;
}

.sub {
    opacity: .5;
}

.thumbnail {
    aspect-ratio: 16/9;
}

.bg-danger {
    background-color: #dc3545;
}


/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 20% auto;
    }

    .table th,
    .table td {
        padding: 8px 10px;
    }

    .btn {
        padding: 6px 12px;
    }
}

.modalhtml {
    display: none;
}

.modal {
    display: none;
}

#response {
    display: none;
    visibility: hidden;
    position: fixed;
    bottom: 40px;
    right: 10px;
    z-index: 1000;
    padding: 10px 20px;
    background: white;
    border-radius: 10px;
    border: solid 1px rgba(0, 0, 0, .1);
    box-shadow: 10px 10px 10px rgba(0, 0, 0, .1);
    animation: slideDown 2s ease-in-out;
}

#response .success {
    color: green;
}

#response .error {
    color: red;
}

.alert {
    display: none;
    animation: slideDown 2s ease-in-out;
    position: fixed;
    bottom: 40px;
    right: 10px;
    z-index: 1000;
    padding: 10px 20px;
    background: white;
    border-radius: 10px;
    border: solid 1px rgba(0, 0, 0, .1);
    box-shadow: 10px 10px 10px rgba(0, 0, 0, .1);
}

.alert-success {
    display: block;
}

.alert-error {
    display: block;
}

.sidebar-menu .active a {
    background-color: var(--color1);
    color: var(--color2);
}

.video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #000;
    margin-bottom: 20px;
}

.video-details {
    max-width: 1000px;
    margin: 0 auto;
}

.video-meta {
    margin-top: 20px;
    color: #666;
}

.video-meta span {
    margin-right: 20px;
}

.description {
    margin: 20px 0;
    line-height: 1.6;
}


.description {
    margin: 20px 0;
    line-height: 1.6;
}

.meta-info {
    margin-top: 20px;
    color: #666;
}

.meta-info p {
    margin: 10px 0;
}

.submission-details,
.submit-assignment {
    background: #f8f9fa;
    border-radius: 4px;
}

.margin-top10 {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

textarea.form-control {
    resize: vertical;
}


/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }

    .form-group input,
    .form-group select {
        font-size: 16px;
        /* Prevents zoom on mobile */
    }
}

@media only screen and (max-width: 1670px) {
    .table-responsive {
        zoom: .7;
    }

}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* File upload preview styles */
#file-preview {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin-top: 15px;
}

#file-preview h4 {
    margin: 0 0 10px 0;
    color: var(--color1);
    font-size: 1.1rem;
}

#file-preview ul {
    margin: 0;
}

#file-preview li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
}

#file-preview li:last-child {
    border-bottom: none;
}

#file-preview li i {
    color: var(--color1);
    font-size: 1rem;
}

/* Multiple file upload button styling */
input[type="file"][multiple] {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s ease;
}

input[type="file"][multiple]:hover {
    border-color: var(--color1);
}

.form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}

.accordion {
    overflow: hidden;
}

.accordion .card-header {
    cursor: pointer;
    height: 50px;
}

.accordion .card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion .card-body.open {
    max-height: 600px;
    overflow-y: auto;
}


.logos_container img {
    max-height: 50px;
    object-fit: contain;
}