/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #080808;
    background-color: #dadee2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #eceff3;
    transition: all 0.3s ease;
}

a:hover {
    color: #393d41 !important;
    }

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0056b3;
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

/* .btn:hover {
    background-color: #003d7a;
    color: #fff;
} */

/* extra out source :-moz-user-disabled */
.button:hover {
  box-shadow: rgba(0, 1, 0, .2) 0 2px 8px;
  opacity: .85;
}

.button:active {
  outline: 0;
}

.button:focus {
  box-shadow: rgba(0, 0, 0, .5) 0 0 0 3px;
}





.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #3676b6;
    position: relative;
    padding-bottom: 15px;
    }
color
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0056b3;
}

/* Header Styles */
header {
    background-color: #e7e8f1;
    box-shadow: 0 2px 10px rgba(237, 236, 243, 0.849);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.logo img {
    height: 46px;
    margin-right: 15px;
    vertical-align: middle;
}

.logo h1 {
    font-size: 1.8rem;
    color: #0056b3;
}

.logo p {
    font-size: 0.9rem;
    color: #666;
    display: block;
}
 /* ... existing code ... */

/* Updated Navigation Styles */
nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
    list-style: none;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #fff;
    background-color: #0056b3;
}

.sister-company {
    margin-left: 20px;
}

.sister-company a {
    font-size: 0.9rem;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.sister-company a:hover {
    background-color: #0056b3;
    color: #fff;
}

/* ... existing code ... */
 

/* Hero Section Styles */
.hero-section {
    position: relative;
}
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    height: 600px;
    /* Match your slide image height */
    overflow: hidden;
}

/* Update slide transition */
.slide {
    transition: opacity 0.8s ease-in-out;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Ensure images fill the slide properly */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    max-width: 80%;
}

.slide-text h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.slide-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/bullets/indicators */
.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
.slideshow-container {
        height: 400px;
    }
    .slide img {
        height: 400px;
    }
    
    .slide-text h2 {
        font-size: 28px;
    }
    
    .slide-text p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 480px) {
    .slideshow-container {
            height: 300px;
        }
        .slide img {
        height: 300px;
    }
    
    .slide-text {
        padding: 15px;
    }
    
    .slide-text h2 {
        font-size: 22px;
    }
    
    .slide-text p {
        font-size: 14px;
    }
    
    .prev, .next {
        padding: 10px;
        font-size: 14px;
    }
}
/* Featured Courses Section Styles */
.featured-courses {
    padding: 80px 0;
    background-color: #fff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
    color: #0056b3;
}

.course-card p {
    padding: 0 20px 20px;
    color: #666;
}

.course-card .btn {
    margin: 0 20px 20px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials Section Styles */
.testimonials {
    padding: 80px 0;
    background-color: #f0f7ff;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px 0;
}

.testimonial {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    scroll-snap-align: start;
}

.testimonial-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
}

/* CTA Section Styles */
.cta-section {
    padding: 80px 0;
    background-color: #0056b3;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: #fff;
    color: #0056b3;
}

.cta-section .btn:hover {
    background-color: #f0f0f0;
}

/* Footer Styles */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about h3, .footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-about h3::after, .footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #0056b3;
}

.footer-about p {
    color: #ccc;
    line-height: 1.8;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-contact i {
    margin-right: 10px;
    color: #0056b3;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Page Banner Styles */
.page-banner {
    background-color: #0056b3;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Courses Page Styles */
.courses-section {
    padding: 80px 0;
}

.course-category {
    margin-bottom: 60px;
}

.course-category h2 {
    font-size: 1.8rem;
    color: #0056b3;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0056b3;
}

.course-details {
    padding: 20px;
}

.course-details h3 {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 10px;
}

.duration {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.duration i {
    margin-right: 5px;
}

.course-details h4 {
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.course-details ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.course-details ul li {
    list-style-type: disc;
    margin-bottom: 5px;
    color: #555;
}

/* Gallery Page Styles */
.gallery-section {
    padding: 80px 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #0056b3;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.video-gallery {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-item h3 {
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.mission-vision {
    padding: 80px 0;
    background-color: #f0f7ff;
}

.mission-vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission, .vision {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.icon {
    font-size: 3rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.mission h2, .vision h2 {
    font-size: 1.8rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.mission p, .vision p {
    color: #555;
    line-height: 1.8;
}

.why-choose-us {
    padding: 80px 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.feature p {
    color: #555;
}

.team-section {
    padding: 80px 0;
    background-color: #f0f7ff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 51px;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.3rem;
    color: #0056b3;
    margin-bottom: 5px;
}

.designation {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.bio {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-info h2 {
    font-size: 1.8rem;
    color: #0056b3;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 1.5rem;
    color: #0056b3;
    margin-right: 15px;
}

.info-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-details p {
    color: #555;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 1.8rem;
    color: #0056b3;
    margin-bottom: 30px;
}
.contact-form .btn {
    background-color: #0056b3;
    color: #fff;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    width: auto;
}

.contact-form .btn:hover {
    background-color: #003d7a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.map-section {
    padding: 80px 0;
    background-color: #f0f7ff;
}

.map-container {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-content, .mission-vision-content, .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .about-image img {
        max-width: 600px;
    }
}
@media (min-width: 769px) {
    .logo {
        flex-direction: row;
        align-items: center;
    }
    
    .logo div {
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
   .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    nav ul {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .sister-company {
        margin: 0;
        text-align: center;
    }
    
    .hero-section {
        height: 450px;
    }
    
    .slide-text h2 {
        font-size: 2rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .team-grid, .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .hero-section {
        height: 350px;
    }
    
    .slide-text {
        padding: 20px;
    }
    
    .slide-text h2 {
        font-size: 1.5rem;
    }
    
    .prev, .next {
        font-size: 1.5rem;
        padding: 8px 12px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mission, .vision {
        padding: 25px;
    }
    
    .feature {
        padding: 20px;
    }
    
    .contact-info, .contact-form {
        padding: 25px;
    }
}
#faqAccordion{
    margin-bottom: 15px !important;
}

/* Animation Styles */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}