/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #333;
    --light-bg: #f8fafc;
    --dark-bg: #1f2937;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background-color: var(--light-bg);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-stats h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-stats p {
    color: #4b5563;
    font-size: 0.9rem;
    margin: 0;
}

.hero-logo {
    margin-bottom: 2rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: -76px; /* Adjust based on navbar height */
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    color: #fff;
}

.hero-slider .slide-text {
    max-width: 600px;
}

.hero-slider h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-slider .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-slider .btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Swiper Navigation for Hero */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 1.25rem !important;
    color: #fff;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Swiper Pagination for Hero */
.hero-slider .swiper-pagination {
    bottom: 30px !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #fff !important;
    transform: scale(1.2);
}

/* Responsive Hero Slider */
@media (max-width: 992px) {
    .hero-slider {
        height: 80vh;
    }

    .hero-slider h1 {
        font-size: 2.5rem;
    }

    .hero-slider .lead {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 70vh;
    }

    .hero-slider h1 {
        font-size: 2rem;
    }

    .hero-slider .slide-content {
        padding: 60px 0;
        text-align: center;
    }
}

/* Services Section */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--dark-bg);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.75rem;
    color: #4b5563;
    display: flex;
    align-items: center;
}

.service-card ul li i {
    font-size: 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 1.5rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.vision-mission {
    margin-top: 2rem;
}

.vision, .mission {
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.values-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.vision h3, .mission h3, .values h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
}

.contact-form .form-control {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.info-item p {
    margin: 0;
    color: #6b7280;
}

/* Logo Styles */
.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 50px;
    width: auto;
    max-width: 160px;
    transition: all 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.logo-svg .nodes circle {
    transition: fill 0.3s ease;
}

.logo-svg:hover .nodes circle {
    fill: url(#pulse-gradient);
}

.logo-svg .connections path {
    transition: stroke-width 0.3s ease;
}

.logo-svg:hover .connections path {
    stroke-width: 1;
}

.logo-svg .binary-stream {
    transition: opacity 0.3s ease;
}

.logo-svg:hover .binary-stream {
    opacity: 0.9;
}

/* Responsive logo */
@media (max-width: 768px) {
    .logo-svg {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .logo-svg {
        height: 35px;
    }
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 2rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .social-links {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .service-card, .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

/* AI Education Section */
.ai-education {
    padding: 100px 0;
    background-color: var(--light-bg);
}

/* Course Cards */
.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.course-badge.advanced {
    background: #f59e0b;
}

.course-badge.professional {
    background: #10b981;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
}

.course-features li {
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Resource Cards */
.resource-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.resource-card h4 {
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.resource-link:hover {
    color: var(--secondary-color);
}

/* Learning Path */
.path-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.path-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e5e7eb;
}

.path-item {
    position: relative;
    padding: 2rem 0;
}

.path-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    width: calc(50% - 30px);
    margin-left: auto;
}

.path-item:nth-child(odd) .path-content {
    margin-left: 0;
    margin-right: auto;
}

.path-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: -85px;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

.path-item:nth-child(odd) .path-icon {
    left: auto;
    right: -85px;
}

.path-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.path-content p {
    margin: 0;
    color: #6b7280;
}

/* Responsive Design for Learning Path */
@media (max-width: 768px) {
    .path-timeline::before {
        left: 30px;
    }

    .path-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .path-icon {
        left: 5px !important;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Slider Section */
.slider-section {
    padding: 80px 0;
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    overflow: hidden;
}

.main-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide-active {
    opacity: 1;
}

.slide-content {
    padding: 40px 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-text {
    padding-right: 40px;
}

.slide-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.slide-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.slide-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.slide-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.slide-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4b5563;
}

.slide-features li i {
    color: var(--primary-color);
}

.feature-svg {
    width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.1));
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.25rem !important;
    color: var(--primary-color);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #fff;
}

/* Swiper Pagination */
.swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #cbd5e1 !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 992px) {
    .slide-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 2rem;
    }

    .slide-features {
        display: inline-block;
        text-align: left;
    }

    .feature-svg {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* Manual Slider */
.manual-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: -76px; /* Adjust based on navbar height */
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
    margin-top:40px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    width: 100%;
    color: white;
    padding: 20px;
    z-index: 2;
}

.slide h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out 0.3s;
}

.slide.active h1 {
    opacity: 1;
    transform: translateY(0);
}

.slide p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out 0.5s;
}

.slide.active p {
    opacity: 1;
    transform: translateY(0);
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out 0.7s;
}

.slide.active .slide-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .slide h1 {
        font-size: 2.5rem;
    }

    .slide p {
        font-size: 1.1rem;
    }

    .slide-buttons {
        flex-direction: column;
    }

    .slide-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .manual-slider {
        height: 80vh;
    }

    .slide h1 {
        font-size: 2rem;
    }

    .slide-content {
        text-align: center;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

.resource-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.resource-list li {
    flex: 1 1 calc(50% - 10px); /* Adjusts to two videos per row with space */
    margin: 5px;
}

.resource-list iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Maintains aspect ratio */
}

.svg-logo-2 {
    filter: invert(40%) sepia(100%) saturate(500%) hue-rotate(200deg);
  }
